Remove all uses of deprecated GDK and GTK+ symbols, replacing them
with the currently supported equivalents.
Based on a patch from Tal Benavidor (#565038).
2008-09-01 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-customization-data.c
(format_name_for_display), (load_name_map_hash_table):
* src/file-manager/fm-directory-view.c
(add_template_to_templates_menus):
* src/nautilus-property-browser.c
(nautilus_property_browser_drag_data_get),
(make_properties_from_directories):
* test/test-nautilus-wrap-table.c (main):
Strip extensions using eel_filename_strip_extension(). Fixes#309510.
Thanks to Paolo Borelli <pborelli@katamail.com> and Jared Moore
<jaredm@gmx.com>.
svn path=/trunk/; revision=14555
Fri May 30 23:33:17 2008 Søren Sandmann <sandmann@redhat.com>
* Revert last commit as we do still need to deal with uris.
svn path=/trunk/; revision=14213
Fri May 30 22:16:51 2008 Søren Sandmann <sandmann@redhat.com>
* libnautilus-private/nautilus-directory-background.c
(initialize_background_from_settings):
* src/nautilus-information-panel.c
(nautilus_information_panel_update_appearance): Update for new eel
API
* configure.in: Require SVN version of eel
svn path=/trunk/; revision=14212
2006-10-19 Federico Mena Quintero <federico@novell.com>
* test/file-torture.py: New file with a little torture test. It
does a bunch of file operations on a directory. Nautilus
sometimes crashes when viewing that directory, so this should help
us find bugs.
2004-01-11 James Henstridge <james@jamesh.id.au>
* test/Makefile.am: don't define GNOMELOCALEDIR in INCLUDES.
* src/Makefile.am: remove desktop and server files on clean.
Don't include GNOMELOCALEDIR in INCLUDES, since it is now defined
in config.h.
* Makefile.am: remove desktop files on clean, and intltool files
on distclean.
* acconfig.h: remove, since it isn't needed anymore.
* configure.in: remove some macro calls not needed with newer
automakes, and use newer versions of some macros.
* autogen.sh: require Automake >= 1.7.
2004-01-03 Anders Carlsson <andersca@gnome.org>
* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
* src/nautilus-navigation-bar.c:
* src/nautilus-navigation-bar.h:
* src/nautilus-navigation-window.c:
* src/nautilus-spatial-window.c:
(nautilus_spatial_window_instance_init):
* src/nautilus-view-frame.c:
* src/nautilus-view-frame.h:
* src/nautilus-window.c:
Remove use of EelGenerousBin, we can use a GtkBox with only one
child for that instead.
* test/Makefile.am:
Don't use Eel stuff that no-one else uses.
* Tons of files:
Because lots of recent bugs were due to "signal handler called after
object gone" problems, switched many calls of g_signal_connect and
g_signal_connect_swapped to use g_signal_connect_object instead.
Also did other signal-related cleanup and changed some destroys to
finalizes.
* libnautilus/nautilus-view-standard-main.h:
We no longer need to include nautilus-view.h in here. So include it
in the files that use this instead.
Did merges from stable branch:
2001-10-25 Darin Adler <darin@bentspoon.com>
* libnautilus-private/nautilus-directory.c:
(call_files_changed_common), (call_files_changed_free_list),
(call_files_changed_unref_free_list),
(nautilus_directory_notify_files_changed): Move call to
nautilus_directory_add_file_to_work_queue into a better
bottleneck; now it catches all the notify cases, not just changed.
Also tell it to re-get top-left text and link info too when we get
a changed notice.
* src/file-manager/fm-directory-view.c: (queue_pending_files):
Don't use the timeout (and the hysteresis) when queuing files once
the initial directory load is complete. Doing this was causing
delays processing changes that came in later, which we don't want.
* src/nautilus-sidebar-title.c: (item_count_ready), (monitor_add),
(update_all), (nautilus_sidebar_title_set_file): Monitor the
directory count once we get it the first time. This makes sure
that changes in the directory count get reflected in the sidebar
without creating a race with the main view to see who calculates
it first.
2001-10-25 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory.c
(nautilus_directory_notify_files_changed): Call
nautilus_directory_add_file_to_work_queue() when file_info is
invalidated. Otherwise it will not be read again.
* libnautilus-private/nautilus-directory-metafile.c:
(free_factory): Just release, don't unref.
(get_metafile): Don't keep a ref. Also fix CORBA objref leak.
* libnautilus-private/nautilus-icon-factory.c:
(get_icon_from_cache):
* libnautilus-private/nautilus-metafile-factory.c:
(nautilus_metafile_factory_get_instance): Return the same
instance each time, don't ref, since lifetime is not managed
by ref counting.
* libnautilus/nautilus-clipboard.c:
(initialize_clipboard_component_with_callback_data):
Get rid of BonoboUIComponent leak.
* src/nautilus-application.c: Formatting tweaks.
* libnautilus-private/nautilus-bookmark.c: Minor cleanup.
* test/Makefile.am:
* test/test-nautilus-async-activation.c: Remove.
* check-signals.pl: Remove.
* components/adapter/bonobo-stream-vfs.c: Remove.
* components/adapter/bonobo-stream-vfs.h: Remove.
* components/adapter/nautilus-adapter-progressive-load-strategy.c: Remove.
* components/adapter/nautilus-adapter-progressive-load-strategy.h: Remove.
* components/adapter/Makefile.am:
* components/hardware/Makefile.am:
* components/history/Makefile.am:
* components/image-viewer/Makefile.am:
* components/music/Makefile.am:
* components/news/Makefile.am:
* components/notes/Makefile.am:
* components/text/Makefile.am:
* components/throbber/Makefile.am:
* components/tree/Makefile.am:
* libnautilus-private/Makefile.am:
* test/Makefile.am:
General cleanups, mostly formatting.
* configure.in: Remove libiconv stuff, since we don't use it
any more. Do esound stuff in the main call to pkg-config, not
a separate set of variables.
* components/image-viewer/nautilus-image-view.c: Remove unused
libart includes.
* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Remove
the use of "decrement" as a synonym for "remove".
* test/test.c: Remove unused libart include.
* Makefile.am: Remove nautilus-launch-icon.png.
* components/hardware/nautilus-hardware-view.c: (setup_form_title),
(setup_overview_form): Port from EelImage to GtkImage.
* components/music/nautilus-music-view.c: Remove unused include.
* src/nautilus-theme-selector.c: Remove unused includes.
* libnautilus-private/nautilus-bonobo-extensions.c:
(bonobo_activation_activation_callback): Add warning message so we
get to see the error from bonobo-activation.
* libnautilus-private/nautilus-directory-metafile.c: (get_factory):
* libnautilus-private/nautilus-icon-factory.c: (get_icon_factory),
(load_icon_for_scaling), (embed_text):
* libnautilus-private/nautilus-metafile-factory.c:
(nautilus_metafile_factory_get_instance):
* libnautilus-private/nautilus-theme.c:
(nautilus_theme_get_theme_data_from_theme):
* libnautilus-private/nautilus-trash-monitor.c:
(nautilus_trash_monitor_get):
* libnautilus-private/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get):
* src/file-manager/nautilus-indexing-info.c:
(show_indexing_info_dialog):
* src/nautilus-preferences-dialog.c:
(global_preferences_get_dialog):
* src/nautilus-window.c: (nautilus_window_class_init),
(add_to_history_list):
Use eel_debug_call_at_shutdown instead of g_atexit.
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_display_name): Add G_BROKEN_FILENAMES support.
* libnautilus-private/nautilus-global-preferences.c:
(nautilus_global_preferences_init): Remove eel_smooth_widget code.
* libnautilus/Makefile.am: Add missing ORBIT_IDL dependency.
* libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi): Remove
bonobo_ui_debug_shutdown for now. It does us no good unless we
also do eel_debug_shut_down, but libnautilus can't depend on eel.
* nautilus-launch-icon.png: Remove.
* src/file-manager/fm-properties-window.c:
(update_properties_window_icon),
(fm_properties_window_drag_data_received),
(create_image_widget_for_file): Port from EelImage to GtkImage.
* src/nautilus-component-adapter-factory.c:
(nautilus_component_adapter_factory_get): Use
eel_debug_call_at_shutdown instead of g_atexit.
(nautilus_component_adapter_factory_create_adapter): Look at
exceptions before looking at return values from CORBA calls.
* src/nautilus-main.c: (main): Add a call to eel_debug_shut_down.
* src/nautilus-property-browser.c:
(nautilus_property_browser_init), (element_clicked_callback),
(nautilus_property_browser_update_contents): Port from EelViewport
to GtkViewport.
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_destroy),
(nautilus_search_bar_criterion_new_from_values): Fix for change
that made NautilusSignaller no longer a GtkObject.
* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init),
(update_icon), (add_emblem): Port from EelImage to GtkImage.
* src/nautilus-signaller.h:
* src/nautilus-signaller.c: (nautilus_signaller_get_current): Use
eel_debug_call_at_shutdown instead of g_atexit.
(nautilus_signaller_instance_init),
(nautilus_signaller_class_init): Change to GObject, not GtkObject.
* src/nautilus-window-menus.c: (get_bookmark_list): Use
eel_debug_call_at_shutdown instead of g_atexit.
(nautilus_window_initialize_go_menu): Fix for change that made
NautilusSignaller no longer a GtkObject.
* test/test-nautilus-preferences-change.c: Remove unused include.
* test/test-nautilus-preferences-display.c: Remove unused includes.
* test/test-nautilus-wrap-table.c: Remove unused includes.
* test/test.c: Remove unused function.
* test/test.h: Remove unused function.
2002-01-04 Havoc Pennington <hp@pobox.com>
* libnautilus-private/nautilus-global-preferences.c
(nautilus_global_preferences_init): add preload of the gconf
cache, to hopefully avoid a zillion round trips to gconfd on
startup.
* test/test.c (test_window_new): remove weird gtk_window_set_policy
* test/test-nautilus-preferences-display.c: remove user level
stuff
* test/test-nautilus-preferences-change.c: remove user level stuff
* libnautilus-private/nautilus-global-preferences.c: the default
click policy was SPEED_TRADEOFF_LOCAL_ONLY, fix
* libnautilus-private/nautilus.schemas: add schemas file,
incomplete, needs to be finished and installed
* libnautilus-private/nautilus-global-preferences.c: strip out
user levels
* src/nautilus-shell-ui.xml: strip out user level menu
* src/nautilus-window-menus.c: strip out user level menu
* acconfig.h:
* configure.in:
Switch to glib's gettext.
* components/help/converters/*:
Remove, since these were moved to libgnome.
* Many files:
Get rid of incorrect uses of many locale-specific functions like
g_strcasecmp and isspace.
* Lots of files:
More GNOME 2 work. We now compile up to libnautilus-private and
I'm working my way through the files in there. Also changed all
the initialize_class and initialize to class_init and init.
* components/help/converters/gnome-info2html2/html.c:
(write_menu_entry_html):
* components/help/converters/gnome-man2html2/gnome-man2html.c:
(add_links), (scan_escape), (scan_format), (scan_table),
(scan_expression), (scan_request), (scan_troff),
(scan_troff_mandoc), (main):
* src/nautilus-first-time-druid.c: (load_netscape_proxy_settings):
* src/nautilus-property-browser.c: (emblem_keyword_valid):
Fix code that was using <ctype.h> functions and passing char's
rather than int's (using the standard "cast to unsigned char"
trick).
* libnautilus-private/nautilus-file.c:
(nautilus_file_denies_access_permission),
(nautilus_file_can_set_permissions), (nautilus_file_set_owner),
(nautilus_file_get_group_name), (nautilus_file_can_set_group),
(nautilus_file_get_settable_group_names),
(nautilus_file_set_group):
Get rid of the assumption that GnomeVFSFileInfo field types match
the platform-specific uid_t and gid_t. This involves doing a few
more type casts.
(nautilus_extract_top_left_text): Fix a use of isprint on a char
rather than an int.
* libnautilus-private/nautilus-volume-monitor.c: Added ifdefs so
this file can compile for Solaris without warnings.
* test/test.c: (test_window_set_title_with_pid): Don't assume that
getpid() returns an int. Instead cast it to unsigned long for
printing.