summaryrefslogtreecommitdiff
path: root/cut-n-paste-code
Commit message (Collapse)AuthorAgeFilesLines
* Removed. Removed. Removed. Removed. Removed.Alexander Larsson2007-02-266-1624/+0
| | | | | | | | | | | | | | | | | 2007-02-26 Alexander Larsson <alexl@redhat.com> * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/Makefile.am: Removed. * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c: Removed. * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h: Removed. * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c: Removed. * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Removed. * libnautilus-private/Makefile.am: * src/Makefile.am: Remove unused gtkhwrapbox. svn path=/trunk/; revision=12770
* Don't build included GSequence on glib >= 2.13.0. Bug #407618.Christian Persch2007-02-191-1/+4
| | | | | | | | | | | | 2007-02-19 Christian Persch <chpe@svn.gnome.org> * configure.in: * cut-n-paste-code/Makefile.am: * src/Makefile.am: * src/file-manager/fm-list-model.c: Don't build included GSequence on glib >= 2.13.0. Bug #407618. svn path=/trunk/; revision=12754
* No need to make GTypeInfo and GInterfaceInfo static. Bug #362034.Christian Persch2007-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-18 Christian Persch <chpe@svn.gnome.org> * cut-n-paste-code/libegg/eggtreemultidnd.c: (egg_tree_multi_drag_source_get_type): * libnautilus-extension/nautilus-column-provider.c: (nautilus_column_provider_get_type): * libnautilus-extension/nautilus-column.c: (nautilus_column_get_type): * libnautilus-extension/nautilus-file-info.c: (nautilus_file_info_get_type): * libnautilus-extension/nautilus-info-provider.c: (nautilus_info_provider_get_type): * libnautilus-extension/nautilus-location-widget-provider.c: (nautilus_location_widget_provider_get_type): * libnautilus-extension/nautilus-menu-item.c: (nautilus_menu_item_get_type): * libnautilus-extension/nautilus-menu-provider.c: (nautilus_menu_provider_get_type): * libnautilus-extension/nautilus-menu.c: (nautilus_menu_get_type): * libnautilus-extension/nautilus-property-page-provider.c: (nautilus_property_page_provider_get_type): * libnautilus-extension/nautilus-property-page.c: (nautilus_property_page_get_type): * libnautilus-private/nautilus-cell-renderer-pixbuf-emblem.c: (nautilus_cell_renderer_pixbuf_emblem_get_type): * libnautilus-private/nautilus-entry.c: (nautilus_entry_get_type): * libnautilus-private/nautilus-file.c: (nautilus_file_get_type): * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_accessible_get_type), (nautilus_icon_canvas_item_get_type): * libnautilus-private/nautilus-sidebar-provider.c: (nautilus_sidebar_provider_get_type): * libnautilus-private/nautilus-sidebar.c: (nautilus_sidebar_get_type): * libnautilus-private/nautilus-view.c: (nautilus_view_get_type): * libnautilus-private/nautilus-window-info.c: (nautilus_window_info_get_type): * src/file-manager/fm-ditem-page.c: (fm_ditem_page_get_type): * src/file-manager/fm-list-model.c: (fm_list_model_get_type): * src/file-manager/fm-tree-model.c: (fm_tree_model_get_type): * src/nautilus-navigation-action.c: (nautilus_navigation_action_get_type): No need to make GTypeInfo and GInterfaceInfo static. Bug #362034. svn path=/trunk/; revision=12700
* Update svn:ignore and remove .cvsignore filesChristian Persch2006-12-315-14/+0
| | | | svn path=/trunk/; revision=12678
* Import gsequence fix for #350579Alexander Larsson2006-12-042-14/+23
| | | | | | | 2006-12-04 Alexander Larsson <alexl@redhat.com> * cut-n-paste-code/gsequence/gsequence.[ch]: Import gsequence fix for #350579
* Use GTK+ to handle recent documents.Vincent Untz2006-08-085-2388/+0
| | | | | | | | | | | | | | | | | | 2006-08-08 Vincent Untz <vuntz@gnome.org> Use GTK+ to handle recent documents. * configure.in: require GTK+ 2.10 * cut-n-paste-code/libegg/Makefile.am: * cut-n-paste-code/libegg/egg-recent-*: kill * libnautilus-private/nautilus-recent.[ch]: (nautilus_recent_get_model): renamed to nautilus_recent_get_manager() (nautilus_recent_add_uri): new, to make it easier to use gtk_recent_manager_add_full() * src/file-manager/fm-directory-view.c: (fm_directory_view_launch_application): use nautilus_recent_add_uri() instead of old egg code (activate_callback): ditto
* Import the latest EggSequence which supposedly fixes a bunch of bugs.Alexander Larsson2006-07-252-583/+980
| | | | | | | | | | | 2006-07-25 Alexander Larsson <alexl@redhat.com> * cut-n-paste-code/gsequence/gsequence.[ch]: Import the latest EggSequence which supposedly fixes a bunch of bugs. * src/file-manager/fm-list-model.c: Fix to use new function names of EggSequence
* Update to latest egg-recent.Alexander Larsson2004-09-171-4/+9
| | | | | | | | 2004-09-17 Alexander Larsson <alexl@redhat.com> * cut-n-paste-code/libegg/egg-recent-model.c: (egg_recent_model_monitor): Update to latest egg-recent.
* sync with latest libegg.Mark McLoughlin2004-08-171-2/+3
| | | | | | | 2004-08-17 Mark McLoughlin <mark@skynet.ie> * cut-n-paste-code/libegg/egg-recent-item.c: sync with latest libegg.
* Update to latest libegg code.Alexander Larsson2004-08-113-16/+119
| | | | | | | | | | | | | 2004-08-11 Alexander Larsson <alexl@redhat.com> * cut-n-paste-code/libegg/egg-recent-item.c: (egg_recent_item_new), (make_valid_utf8), (egg_recent_item_get_short_name), (egg_recent_item_set_private), (egg_recent_item_get_private): * cut-n-paste-code/libegg/egg-recent-item.h: * cut-n-paste-code/libegg/egg-recent-model.c: (egg_recent_model_open_file), (egg_recent_model_lock_file), (egg_recent_model_unlock_file): Update to latest libegg code.
* replace egg_screen with new gdk/libgnomeui functions.Alexander Larsson2004-02-117-633/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-11 Alexander Larsson <alexl@redhat.com> * cut-n-paste-code/libegg/Makefile.am: * cut-n-paste-code/libegg/egg-screen-exec.c: * cut-n-paste-code/libegg/egg-screen-exec.h: * cut-n-paste-code/libegg/egg-screen-help.c: * cut-n-paste-code/libegg/egg-screen-help.h: * cut-n-paste-code/libegg/egg-screen-url.c: * cut-n-paste-code/libegg/egg-screen-url.h: * libnautilus-private/nautilus-program-chooser.c: (help_cb): * libnautilus-private/nautilus-program-choosing.c: (my_gdk_spawn_make_environment_for_screen), (nautilus_launch_show_file), (nautilus_launch_action), (nautilus_launch_application), (nautilus_launch_desktop_file): * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-properties-window.c: (help_button_callback): * src/nautilus-bookmarks-window.c: (nautilus_bookmarks_window_response_callback): * src/nautilus-navigation-window-menus.c: * src/nautilus-property-browser.c: (help_button_callback): * src/nautilus-window-menus.c: (help_menu_nautilus_manual_callback): replace egg_screen with new gdk/libgnomeui functions.
* Update to latest to fix locking issue.Alexander Larsson2004-02-061-1/+1
| | | | | | | 2004-02-06 Alexander Larsson <alexl@redhat.com> * cut-n-paste-code/libegg/egg-recent-model.c (egg_recent_model_lock_file): Update to latest to fix locking issue.
* Sync these files with their latest copies from libegg so as to include anyJason Leach2004-01-274-6/+27
| | | | | | | | | | | | 2004-01-27 Jason Leach <leach@wam.umd.edu> * cut-n-paste-code/libegg/egg-recent-item.c: * cut-n-paste-code/libegg/egg-recent-item.h: * cut-n-paste-code/libegg/egg-recent-model.c: * cut-n-paste-code/libegg/eggtreemultidnd.c: Sync these files with their latest copies from libegg so as to include any bugfixes since 2003-04-16, the previous sync. (#121455, Laurent Vivier)
* Compare to ptr instead of NULL, since g_sequence_node_prev() never returnsSoeren Sandmann2004-01-041-1/+1
| | | | | | | | | Sun Jan 4 14:39:49 2004 Soeren Sandmann <sandmann@daimi.au.dk> * cut-n-paste-code/gsequence/gsequence.c (g_sequence_ptr_is_begin): Compare to ptr instead of NULL, since g_sequence_node_prev() never returns NULL. (pointed out by Jeffrey Yasskin).
* Patch from Soeren Sandmann to fix removes. Thanks to Martin Wehner forAlexander Larsson2003-09-161-3/+9
| | | | | | | | 2003-09-16 Alexander Larsson <alexl@redhat.com> * cut-n-paste-code/gsequence/gsequence.c: Patch from Soeren Sandmann to fix removes. Thanks to Martin Wehner for tracking this down.
* Patch by Soren SandmannAlexander Larsson2003-06-275-1/+1124
| | | | | | | | | | | | | | | | | | | | | 2003-06-27 Alexander Larsson <alexl@redhat.com> Patch by Soren Sandmann * configure.in: CFLAGS for gsequence * cut-n-paste-code/Makefile.am: * cut-n-paste-code/gsequence/.cvsignore: * cut-n-paste-code/gsequence/Makefile.am: * cut-n-paste-code/gsequence/gsequence.[ch]: New cut-n-paste lib for gsequence (by Soren Sandmann) * src/Makefile.am: Link to gsequence * src/file-manager/fm-list-model.c: Use gsequence plus a reverse mapping hashtable.
* Remove old filesAlexander Larsson2003-04-166-639/+34
| | | | | | | | | | | | | | | | | | | | | | | 2003-04-16 Alexander Larsson <alexl@redhat.com> * cut-n-paste-code/libegg/Makefile.am: * cut-n-paste-code/libegg/egg-recent-vfs-util.c: * cut-n-paste-code/libegg/egg-recent-vfs-util.h: Remove old files * cut-n-paste-code/libegg/egg-recent-item.c: (egg_recent_item_set_uri), (egg_recent_item_get_uri_for_display): * cut-n-paste-code/libegg/egg-recent-model.c: (egg_recent_model_update_item), (egg_recent_model_filter), (egg_recent_model_read), (egg_recent_model_add_full), (egg_recent_model_get_list), (egg_recent_model_changed): * cut-n-paste-code/libegg/egg-screen-exec.c: (egg_screen_exec_environment), (egg_screen_execute_command_line_async): Update libegg stuff. Among other stuff this makes nautilus scripts execute in the right directory.
* added Makefile and Makefile.inAlex Duggan2003-03-101-0/+2
| | | | | | 2003-03-10 Alex Duggan <aldug@astrolinux.com> * .cvsignore: added Makefile and Makefile.in
* Broken PipeAnders Carlsson2002-11-0617-1/+4035
|
* Get rid of code that passes around the "optimize for AA" flag.Darin Adler2002-01-214-237/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * components/tree/nautilus-tree-view.c: (nautilus_tree_view_insert_model_node), (nautilus_tree_view_update_model_node): * libnautilus-private/nautilus-bookmark.c: (nautilus_bookmark_get_pixbuf): * libnautilus-private/nautilus-find-icon-image.c: (read_details), (get_themed_icon_file_path), (theme_has_icon), (nautilus_get_icon_file_name): * libnautilus-private/nautilus-find-icon-image.h: * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_update_icon): * libnautilus-private/nautilus-icon-factory-private.h: * libnautilus-private/nautilus-icon-factory.c: (load_thumbnail_frame), (nautilus_icon_factory_init), (nautilus_icon_factory_destroy), (icon_theme_changed_callback), (should_display_image_file_as_itself), (nautilus_icon_factory_get_icon_for_file), (load_icon_from_path), (load_named_icon), (load_specific_icon), (load_icon_for_scaling), (load_icon_scale_if_necessary), (get_icon_from_cache), (nautilus_icon_factory_get_pixbuf_for_icon), (cache_key_hash), (cache_key_equal), (nautilus_icon_factory_get_pixbuf_for_file), (nautilus_icon_factory_get_pixbuf_from_name), (nautilus_icon_factory_get_thumbnail_frame): * libnautilus-private/nautilus-icon-factory.h: * libnautilus-private/nautilus-thumbnails.c: (nautilus_thumbnail_load_framed_image): * libnautilus-private/nautilus-thumbnails.h: * src/file-manager/fm-directory-view.c: (add_script_to_script_menus), (add_submenu_to_script_menus): * src/file-manager/fm-list-model.c: (fm_list_model_get_value): * src/file-manager/fm-properties-window.c: (get_pixbuf_for_properties_window): * src/nautilus-sidebar-title.c: (update_icon), (update_emblems): Get rid of code that passes around the "optimize for AA" flag. * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c: * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h: * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c: * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Roll in the latest version from gimp source tree. * icons: Overwrite all the non-aa versions with the aa versions. Remove all the aa versions.
* Remove. Remove. Remove. Remove. Remove.Darin Adler2002-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* remove .cvsignore files from empty directoriesGediminas Paulauskas2001-11-291-2/+0
|
* hush.Michael Meeks2001-11-211-0/+2
|
* Lots of files. Get rid a lot of unneeded casts.Darin Adler2001-11-091-2/+2
| | | | | * Lots of files. Get rid a lot of unneeded casts.
* Remove e-paned.Darin Adler2001-11-0810-1734/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/e-paned: * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-horizontal-splitter.c: * libnautilus-private/nautilus-horizontal-splitter.h: * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_set_content_view_widget), (nautilus_window_hide_sidebar), (nautilus_window_show_sidebar), (nautilus_window_sidebar_showing): Remove e-paned. * configure.in: * data/Makefile.am: * data/linksets/ * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-file-utilities.c: * libnautilus-private/nautilus-link-set.c: * libnautilus-private/nautilus-link-set.h: * src/Makefile.am: * src/nautilus-link-set-window.c: * src/nautilus-link-set-window.h: * src/nautilus-sidebar.c: (metadata_button_callback): Remove link sets. * libnautilus-private/nautilus-program-chooser.c: (launch_mime_capplet_on_ok), (launch_mime_capplet_and_close_dialog): * src/nautilus-window-menus.c: (forget_history_if_yes), (remove_bookmarks_for_uri_if_yes): Destroy dialogs when done, since GtkDialog doesn't do this for us. * src/nautilus-preferences-dialog.c: (preferences_dialog_create): Get rid of close signal handler, since default close handler does the same thing as a delete_event, which is what we want. We still might have to do something fancier on a delete_event.
* Lots of files. Another GtkObject -> GObject pass.Darin Adler2001-11-062-11/+11
| | | | | * Lots of files. Another GtkObject -> GObject pass.
* Did some fixes based on a patch Michael sent me.Darin Adler2001-11-061-56/+41
| | | | | | | | | | | | | | | | | * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_class_init): Turn off e_paned_expose for now. * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_class_init): Marshaller said the parameters were strings, but they were actually pointers to strings. * libnautilus/nautilus-view.c: (queue_incoming_call): Pass servant, not bonobo object. * src/nautilus-view-frame.c: (nautilus_view_frame_init), (attach_view): Switch to eel versions of connect_while_alive functions, since the gtk versions work only on gtk objects.
* Fix a G_OBJECT_CLASS that should have been G_OBJECT_GET_CLASS.Darin Adler2001-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_handle_shown): Fix a G_OBJECT_CLASS that should have been G_OBJECT_GET_CLASS. * libnautilus-private/Makefile.am: Add back the dependency on the cut-n-paste libraries. * libnautilus-private/nautilus-bonobo-extensions.c: (nautilus_bonobo_get_hidden): Silently ignore when there's no "hidden" attribute rather than warning every time. * libnautilus-private/nautilus-icon-factory.c: (nautilus_icon_factory_get_pixbuf_for_icon): Ref all the pixbufs on their way out of the icon factory since we don't have a new strategy for removing them from the cache when the caller is done yet. * src/nautilus-sidebar-title.c: (sidebar_title_create_more_info_label): Don't call make_smaller so Havoc won't complain every time we do it. * src/nautilus-view-frame.c: (nautilus_view_frame_destroy): Check for NULL so we can call destroy any number of times. * src/nautilus-window-toolbars.c: (nautilus_window_initialize_toolbars): Turn off the code that tries to load the throbber since we aren't compiling it yet. * components/loser/content/nautilus-content-loser-ui.xml: * components/loser/sidebar/nautilus-sidebar-loser-ui.xml: * components/sample/nautilus-sample-content-view-ui.xml: * libnautilus/nautilus-clipboard-ui.xml: * src/nautilus-shell-ui.xml: Update for new names of stock icons.
* Tons of files. More GtkObject -> GObject stuff.Darin Adler2001-11-041-2/+2
| | | | | * Tons of files. More GtkObject -> GObject stuff.
* cut-n-paste-code now compiles, and we are a hair's breadth away fromDarin Adler2001-10-318-252/+6
| | | | | | * Lots of files: cut-n-paste-code now compiles, and we are a hair's breadth away from linking -- so far from running, though
* More GNOME 2 work. We now compile up to libnautilus-private and I'mDarin Adler2001-10-281-7/+6
| | | | | | | * 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.
* Some makefile cleanup.Darin Adler2001-08-264-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Don't build intl since we don't need it the way we use gettext. * applets/launcher/Makefile.am: Remove redundant -I$(srcdir). * applets/preferences-applet/Makefile.am: Remove redundant -I$(srcdir). * components/adapter/Makefile.am: Remove redundant -I. * components/mozilla/Makefile.am: Mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * components/news/Makefile.am: Remove unneeded -I$(top_srcdir)/components/news. * configure.in: Don't build intl since we don't need it the way we use gettext. * libnautilus-adapter/Makefile.am: Remove redundant -I. * libnautilus-private/Makefile.am: Change -I for new cut-n-paste-code scheme. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * libnautilus/Makefile.am: Remove redundant -I. * src/Makefile.am: Change -I for new cut-n-paste-code scheme. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * src/file-manager/Makefile.am: Mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * check-THANKS.pl: Change Seth's preferred email address. * cut-n-paste-code/widgets/e-paned/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/Makefile.am: Don't use -static, since we plan to link Remove unneeded -I directives now that we handle includes differently. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * cut-n-paste-code/widgets/e-paned/e-hpaned.h: * cut-n-paste-code/widgets/e-paned/e-vpaned.h: * libnautilus-private/nautilus-horizontal-splitter.h: * src/nautilus-complex-search-bar.c: * src/nautilus-search-bar-criterion.c: Simpler include scheme for cut-n-paste code.
* Fix a cast so that 64-bit systems won't warn. This is similar to theDarin Adler2001-07-091-4/+5
| | | | | | | * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c: (gtk_wrap_box_expose): Fix a cast so that 64-bit systems won't warn. This is similar to the e-paned.c fix I did already.
* Bump version to 1.0.4.1Darin Adler2001-07-051-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Bump version to 1.0.4.1 * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_expose): Fix type cast that was causing Ben trouble compiling on Solaris. Take a cut at removing the problem where opening a new window causes all the old windows to act as if all items were re-added. * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_file_monitor_add), (nautilus_self_check_directory): * libnautilus-private/nautilus-directory-async.c: (nautilus_directory_monitor_add_internal): * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-merged-directory.c: (build_merged_callback_list), (merged_file_monitor_add), (forward_files_added_cover), (forward_files_changed_cover), (monitor_add_directory), (merged_add_real_directory): * libnautilus-private/nautilus-trash-file.c: (real_monitor_add): * libnautilus-private/nautilus-trash-monitor.c: (nautilus_trash_monitor_initialize): * libnautilus-private/nautilus-vfs-directory.c: (vfs_file_monitor_add): * libnautilus-private/nautilus-vfs-file.c: (vfs_file_monitor_add): Change monitor_add to take a parameter for a callback function, and call that instead of sending out a files_added message when someone starts monitoring files. * components/tree/nautilus-tree-model.c: (nautilus_tree_model_node_begin_monitoring_no_connect), (nautilus_tree_model_node_begin_monitoring), (nautilus_tree_model_directory_files_changed_callback): * src/file-manager/fm-directory-view.c: (connect_script_handlers), (finish_loading): Pass in a callback function to monitor_add, and don't hook up the files_added and files_changed signals until after the monitor is added.
* Removing this file so that this empty directory will become completelyDarin Adler2001-05-043-10/+0
| | | | | | | | * cut-n-paste-code/freetype/.cvsignore: Removing this file so that this empty directory will become completely empty. * cut-n-paste-code/.cvsignore: Tweak. * cut-n-paste-code/widgets/.cvsignore: Tweak.
* Remove nautilusclist cut-n-paste code.Ramiro Estrugo2001-04-045-8424/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Remove nautilusclist cut-n-paste code. * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/nautilusclist/.cvsignore: * cut-n-paste-code/widgets/nautilusclist/Makefile.am: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h: Remove nautilusclist cut-n-paste code. * libnautilus-extensions/nautilus-file-dnd.h: * libnautilus-extensions/nautilus-file-dnd.c: New file with Drag and Drop code that operated on NautilusFile objects. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-list-column-title.c: * libnautilus-extensions/nautilus-list-column-title.h: * libnautilus-extensions/nautilus-list.c: * libnautilus-extensions/nautilus-list.h: * libnautilus-extensions/nautilus-ctree.c: * libnautilus-extensions/nautilus-ctree.h: * libnautilus-extensions/nautilus-drag.c: * libnautilus-extensions/nautilus-drag.h: Move these widget into eel. * libnautilus-extensions/nautilus-icon-dnd.h: * libnautilus-extensions/nautilus-icon-dnd.c: Update for eel dnd code move. * nautilus-installer/install-lib/Makefile.am: * nautilus-installer/libtrilobite/Makefile.am: Remove some voodoo that was needed for cut-n-paste code in trilobite that no longer is among us. * components/help/hyperbola-nav-tree.c: * components/music/nautilus-music-view.c: * components/rpmview/nautilus-rpm-verify-window.c: * components/rpmview/nautilus-rpm-view-private.h: * components/rpmview/nautilus-rpm-view.c: * components/tree/nautilus-tree-view-dnd.c: * components/tree/nautilus-tree-view-dnd.h: * components/tree/nautilus-tree-view-private.h: * components/tree/nautilus-tree-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-list-view.c: (fm_list_view_initialize), * src/nautilus-sidebar.c: Update for clist, ctree, list and dnd code that now lives in eel. Also do more #include cleanup.
* reviewed by: Gene Ragan <gzr@eazel.com>Darin Adler2001-03-282-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Followup on my recent tree change to get rid of some flicker. * components/tree/nautilus-tree-view.c: (set_selected_row_position): Only scroll the view if the row isn't already in the right position. Prevents the case where it scrolls by less than a whole row. * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: (nautilus_clist_thaw), (nautilus_clist_check_unfrozen), (real_resize_column), (real_row_move), (resync_selection), (nautilus_clist_map), (nautilus_clist_style_set), (real_sort_list): Add code to detect changes and only redraw when actual changes happen. Also make freeze/thaw with no changes between them a no-op by having the frozen check schedule a refresh at thaw time as a side effect. It used to do a refresh every time it got thawed. Add calls to do refresh for all cases where the old code was counting on thaw implying a full refresh. * libnautilus-extensions/nautilus-ctree.c: (real_tree_move), (real_select_all), (nautilus_ctree_insert_gnode), (nautilus_ctree_remove_node), (nautilus_ctree_expand_recursive), (nautilus_ctree_expand_to_depth), (nautilus_ctree_collapse_recursive), (nautilus_ctree_collapse_to_depth), (nautilus_ctree_toggle_expansion_recursive), (nautilus_ctree_real_select_recursive), (nautilus_ctree_set_node_info), (nautilus_ctree_set_indent), (nautilus_ctree_set_spacing), (nautilus_ctree_set_line_style), (nautilus_ctree_sort_recursive), (nautilus_ctree_sort_node), (nautilus_ctree_sort_single_node): Use the new unfrozen check that has a side effect of making the next thaw do a refresh. Add the new refresh calls that are needed now that thaw doesn't always do a refresh. Removed some unnecessary drawing for cases where things haven't changed. * libnautilus-extensions/nautilus-list.c: (nautilus_list_track_new_column_width): Use the new unfrozen check that has a side effect of making the next thaw do a refresh. * src/file-manager/fm-list-view.c: (fm_list_view_set_zoom_level): Formatting tweak.
* reviewed (a bit) by: John Sullivan <sullivan@eazel.com>Darin Adler2001-03-282-566/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some tree view changes so it only does work when the tree view is open, not when it's closed. Also improved speed by not creating so many pixmaps, which required changing lots of classes to use pixbufs instead of pixmaps. * components/tree/libmain.c: (tree_shlib_object_destroyed), (tree_shlib_make_object): Changed to use NautilusTreeView subclass of NautilusView, not widget. * components/tree/main.c: (main): Use standard main. * components/rpmview/nautilus-rpm-view.c: (file_activation_callback), (fill_filename_tree_int), (fill_filename_tree), (nautilus_rpm_view_update_from_uri): Update to use NautilusCList instead of GtkCList. * components/tree/nautilus-tree-change-queue.h: Got rid of ADDED (it's now the same as CHANGED). * components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-model.c: (nautilus_tree_model_initialize_class): No more ADDED. (destroy_file_hash): New function. (nautilus_tree_model_destroy): Destroy deferral hashes. (nautilus_tree_model_node_begin_monitoring): Use changed instead of added. (report_node_changed): Emit changed instead of added. (process_file_change): New function. (process_directory_done_loading): New function. (add_file_to_hash): New function. (nautilus_tree_model_directory_files_changed_callback), (nautilus_tree_model_directory_done_loading_callback): Either put the file in the hash table or send the notification. (process_one_changed_file), (process_one_done_loading_file): Helper functions to send notifications. (nautilus_tree_model_set_defer_notifications): Start deferring notifications by making hash tables. Stop deferring notifications by sending out all the notifications and then getting rid of the hash tables. * components/tree/nautilus-tree-view.h: * components/tree/nautilus-tree-view-private.h: * components/tree/nautilus-tree-view.c: (nautilus_tree_view_insert_model_node), (ctree_is_node_expanded), (nautilus_tree_view_update_model_node), (awaited_node_or_uri_found), (notify_done_loading), (notify_node_seen), (get_selected_row), (get_selected_row_position), (set_selected_row_position), (dequeue_pending_idle_callback), (schedule_pending_idle_callback), (unschedule_pending_idle_callback), (nautilus_tree_view_load_from_filesystem), (ctree_compare_rows), (create_tree), (tree_map_callback), (tree_unmap_callback), (nautilus_tree_view_initialize), (nautilus_tree_view_destroy), (get_uri_sequence_to_root), (call_when_uri_loaded_or_parent_done_loading), (cancel_selection_in_progress), (expand_uri_sequence_and_select_end), (select_current_location), (tree_load_location_callback), (got_activation_uri_callback), (ctree_get_first_selected_node), (nautilus_tree_view_update_all_icons), (nautilus_tree_view_initialize_class): Convert to use pixbufs instead of pixmaps. Convert to use NautilusList instead of GtkCList. Fix storage leak of name. Get rid of weak use of callback function pointers. Add feature where the selected row is kept in position as new items are added. Eliminated ADDED and jsut used CHANGED instead. Defer creating the tree view until the first map. Turn off processing when unmapped. Change NautilusTreeView to be NautilusView subclass, not a widget. * components/tree/nautilus-tree-view-dnd.c: (nautilus_tree_view_drag_begin), (nautilus_tree_view_drag_motion), (get_data_on_first_target_we_support), (nautilus_tree_view_button_press), (nautilus_tree_view_button_release), (nautilus_tree_view_motion_notify), (nautilus_tree_view_set_dnd_icon), (nautilus_tree_view_collapse_node), (nautilus_tree_view_expand_or_collapse_row), (nautilus_tree_view_tree_node_at), (auto_scroll_timeout_callback), (nautilus_tree_view_real_scroll), (nautilus_tree_view_collapse_all), (nautilus_tree_view_receive_dropped_icons), (nautilus_tree_view_drag_destroy), (nautilus_tree_view_drag_destroy_real): Switch from GtkCList to NautilusCList. Also get rid of code that assumes NautilusTreeView is a widget. Also convert to use pixbufs instead of pixmaps. * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: (nautilus_clist_optimal_column_width), (nautilus_clist_set_text), (nautilus_clist_set_pixbuf), (nautilus_clist_get_pixbuf), (nautilus_clist_set_pixtext), (nautilus_clist_get_pixtext), (set_cell_contents), (cell_size_request), (real_insert_row), (draw_row), (draw_rows), (row_delete): Change to use pixbufs instead of pixmaps. Remove most of the drawing code since this can only be used as a base class for NautilusList anyway. Add boolean to set_cell_contents so it redraws only if the cell has changed. * libnautilus-extensions/nautilus-ctree.h: * libnautilus-extensions/nautilus-ctree.c: (COLUMN_FROM_XPIXEL), (nautilus_ctree_get_type), (nautilus_ctree_class_init), (nautilus_ctree_set_arg), (nautilus_ctree_get_arg), (nautilus_ctree_init), (ctree_attach_styles), (ctree_detach_styles), (nautilus_ctree_realize), (nautilus_ctree_event), (nautilus_ctree_unrealize), (nautilus_ctree_button_press), (draw_drag_highlight), (nautilus_ctree_row_at), (get_cell_rectangle), (nautilus_ctree_set_prelight), (draw_cell_pixbuf), (get_cell_style), (nautilus_ctree_draw_expander), (nautilus_ctree_draw_lines), (draw_row), (tree_draw_node), (nautilus_ctree_link), (nautilus_ctree_unlink), (real_row_move), (real_tree_move), (change_focus_row_expansion), (real_tree_expand), (real_tree_collapse), (column_auto_resize), (auto_resize_columns), (cell_size_request), (set_cell_contents), (set_node_info), (row_new), (row_delete), (real_select_row), (real_unselect_row), (real_tree_select), (real_tree_unselect), (select_row_recursive), (real_select_all), (real_unselect_all), (ctree_is_hot_spot), (nautilus_ctree_construct), (real_insert_row), (nautilus_ctree_insert_node), (nautilus_ctree_insert_gnode), (real_remove_row), (nautilus_ctree_remove_node), (real_clear), (nautilus_ctree_post_recursive), (nautilus_ctree_post_recursive_to_depth), (nautilus_ctree_pre_recursive), (nautilus_ctree_pre_recursive_to_depth), (nautilus_ctree_find_node_ptr), (nautilus_ctree_node_nth), (nautilus_ctree_find), (nautilus_ctree_find_by_row_data), (nautilus_ctree_find_all_by_row_data), (nautilus_ctree_find_by_row_data_custom), (nautilus_ctree_find_all_by_row_data_custom), (nautilus_ctree_is_hot_spot), (nautilus_ctree_expand_recursive), (nautilus_ctree_expand_to_depth), (nautilus_ctree_collapse_recursive), (nautilus_ctree_collapse_to_depth), (nautilus_ctree_toggle_expansion_recursive), (nautilus_ctree_real_select_recursive), (nautilus_ctree_node_set_text), (nautilus_ctree_node_set_pixbuf), (nautilus_ctree_node_set_pixtext), (nautilus_ctree_set_node_info), (nautilus_ctree_node_set_shift), (remove_grab), (nautilus_ctree_node_set_selectable), (nautilus_ctree_node_get_cell_type), (nautilus_ctree_node_get_text), (nautilus_ctree_node_get_pixbuf), (nautilus_ctree_node_get_pixtext), (nautilus_ctree_get_node_info), (nautilus_ctree_node_set_cell_style), (nautilus_ctree_node_get_cell_style), (nautilus_ctree_node_set_row_style), (nautilus_ctree_node_moveto), (nautilus_ctree_node_is_visible), (nautilus_ctree_set_indent), (nautilus_ctree_set_spacing), (nautilus_ctree_set_show_stub), (nautilus_ctree_set_line_style), (tree_sort), (nautilus_ctree_sort_recursive), (real_sort_list), (nautilus_ctree_sort_node), (nautilus_ctree_sort_single_node), (fake_unselect_all), (selection_find), (resync_selection), (real_undo_selection), (check_drag), (drag_dest_info_destroy), (drag_dest_cell), (nautilus_ctree_drag_begin), (nautilus_ctree_drag_motion), (nautilus_ctree_drag_data_received): Change to use NautilusList instead of GtkCList. Change to use pixbufs instead of pixmaps. Use set_cell_contents boolean to only redraw when cell has changed. * libnautilus-extensions/nautilus-gtk-extensions.h: * libnautilus-extensions/nautilus-gtk-extensions.c: (nautilus_gtk_marshal_POINTER__INT): Add new marshal needed for the pixbuf version of a NautilusList call. (nautilus_drag_set_icon_pixbuf): Helper to convert pixbuf to a pixmap and mask for GTK's sake. * libnautilus-extensions/nautilus-icon-dnd.c: (nautilus_icon_dnd_begin_drag): Use nautilus_drag_set_icon_pixbuf. * libnautilus-extensions/nautilus-list.h: * libnautilus-extensions/nautilus-list.c: (nautilus_list_initialize_class), (nautilus_list_initialize_dnd), (nautilus_list_initialize), (nautilus_list_destroy), (draw_cell), (nautilus_list_mark_cell_as_link), (nautilus_list_set_cell_contents), (set_list_cell), (get_list_cell), (nautilus_list_drag_start), (nautilus_list_receive_dropped_icons): Take advantage of the new changes in NautilusCList, which now uses pixmaps directly. Change drag signal to use a pixbuf, not a pixmap. Change so it doesn't do the DND stuff unless you explicitly call for it. Use set_cell_contents boolean to only redraw when cell has changed. * src/file-manager/fm-list-view.c: (fm_list_get_drag_pixbuf), (fm_list_get_sort_column_index), (create_list), (set_up_list): Change to use the new pixbuf signal instead of the old pixmap one. Make a call to ask NautilusList to do the DND stuff.
* reviewed by: Christian Meyer <chrisime@gnome.org>Eric Fischer2001-03-063-3/+3
| | | | | | | | | | | | | | | | | | 2001-03-06 Eric Fischer <eric@eazel.com> reviewed by: Christian Meyer <chrisime@gnome.org> (Bug 7315. Thanks to Christian Meyer for tracking down places where this needed to be fixed.) * components/help/converters/gnome-db2html2/Makefile.am: * components/help/converters/gnome-info2html2/Makefile.am: * cut-n-paste-code/widgets/e-paned/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/Makefile.am: * cut-n-paste-code/widgets/nautilusclist/Makefile.am: * libnautilus-extensions/Makefile.am: In all of these, change GNOME_CFLAGS to GNOMEUI_CFLAGS so that they get the correct #include path for the GTK headers.
* updated this file to list previous changes to e-paned, as well as the fixJohn Harper2001-02-271-0/+34
| | | | | | | | 2001-02-27 John Harper <jsh@eazel.com> * cut-n-paste-code/widgets/e-paned/README.changes: updated this file to list previous changes to e-paned, as well as the fix I just made
* Fixed bug 6294 (Sidebar gets smaller each time you open a new Window) andJohn Harper2001-02-272-1/+31
| | | | | | | | | | | | | | | | | | | 2001-02-27 John Harper <jsh@eazel.com> Fixed bug 6294 (Sidebar gets smaller each time you open a new Window) and probably 6499 (Sidebar grows each time a window is opened): * cut-n-paste-code/widgets/e-paned/e-paned.c (e_paned_compute_position): fixed a bug in when it stores the last allocation of the widget. This in turn causes the widget not to do the annoying scaled resizing if the position of the splitter was set before the first size_allocate invocation * cut-n-paste-code/widgets/e-paned/README.changes: added this file describing the changes I had to make to the widget I'm also going to submit this patch to the gal maintainers
* reviewed by: Mathieu Lacage <mathieu@gnome.org>Rebecca Schulman2001-02-111-18/+108
| | | | | | | | | | 2001-02-11 Rebecca Schulman <rebecka@eazel.com> reviewed by: Mathieu Lacage <mathieu@gnome.org> * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: Use binary instead of linear search to find the right insert new row into a sorted clist. This is part of addressing bug 6290
* reviewed by: Pavel Cisler <pavel@eazel.com>John Harper2001-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-09 John Harper <jsh@eazel.com> reviewed by: Pavel Cisler <pavel@eazel.com> Work to make icons in list view draw anti-aliased in respect to the background. Fixes bug 1659 * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h (NautilusCellType): added new type NAUTILUS_CELL_PIXBUF at end of this enum * libnautilus-extensions/nautilus-list.c (NautilusListDetails): added fields for RGB values of all background colors (nautilus_gdk_set_shifted_foreground_gc_color): return the shifted RGB value (nautilus_list_setup_style_colors): save RGB values of all background colors into the details structure (get_cell_style): added another parameter: `bg_rgb', when a non null pointer it gets set to the RGB value of the chosen background color (draw_cell_pixbuf): added another parameter: `bg_rgb'. Composite the pixbuf onto a square of this color (using the full 8-bit alpha), then blit the entire square onto the drawable (draw_cell): added cases to handle NAUTILUS_CELL_PIXBUF type. Also pass the extra arg to draw_cell_pixbuf in NAUTILUS_CELL_PIXBUF_LIST case (nautilus_list_set_cell_contents): handle NAUTILUS_CELL_PIXBUF case (nautilus_list_set_pixbuf_list): broke out contents into the new function set_list_cell, parameterized by the NautilusCellType in addition (nautilus_list_set_pixbuf): new function, calls set_list_cell * src/file-manager/fm-list-view.c (install_row_images): get the file's icon as a pixbuf, not a pixmap/mask pair. Then use nautilus_list_set_pixbuf to install it in the list cell
* New file documenting the directory layout of components/services.Maciej Stachowiak2000-12-141-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * components/services/docs/directories: New file documenting the directory layout of components/services. * components/services/inventory/.cvsignore, components/services/inventory/Makefile.am, components/services/inventory/command-line/README, components/services/inventory/lib/.cvsignore, components/services/inventory/lib/Makefile.am, components/services/inventory/lib/eazel-inventory-shared.c, components/services/inventory/lib/eazel-inventory-shared.h, components/services/inventory/nautilus-view/.cvsignore, components/services/inventory/nautilus-view/Makefile.am, components/services/inventory/nautilus-view/main.c, components/services/inventory/nautilus-view/nautilus-inventory-view.c, components/services/inventory/nautilus-view/nautilus-inventory-view.h, components/services/inventory/nautilus-view/nautilus-inventory-view.oafinfo: Remove old dead inventory code. * components/services/login/command-line/README: Remove last file in otherwise-empty directory. * components/services/summary/command-line/README: Ditto. * cut-n-paste-code/widgets/gtkclist/.cvsignore: Ditto.
* Fixes for bugs 2376, 4553, and 3799 This should make the complex searchRebecca Schulman2000-11-287-0/+1766
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-28 Rebecca Schulman <rebecka@eazel.com> Fixes for bugs 2376, 4553, and 3799 This should make the complex search bar usable and visible. reviewed by: Maciej Stachowiak <mjs@eazel.com> * configure.in: * libnautilus-extensions/Makefile.am: * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/.cvsignore: * cut-n-paste-code/widgets/gimphwrapbox/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c: (gtk_hwrap_box_get_type), (gtk_hwrap_box_class_init), (gtk_hwrap_box_init), (gtk_hwrap_box_new), (get_child_requisition), (_gtk_hwrap_box_size_request), (get_layout_size), (gtk_hwrap_box_size_request), (reverse_list_row_children), (layout_row), (layout_rows), (gtk_hwrap_box_size_allocate): * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h: * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c: (gtk_wrap_box_get_type), (gtk_wrap_box_class_init), (gtk_wrap_box_init), (gtk_wrap_box_set_arg), (gtk_wrap_box_get_arg), (gtk_wrap_box_set_child_arg), (gtk_wrap_box_get_child_arg), (gtk_wrap_box_child_type), (gtk_wrap_box_set_homogeneous), (gtk_wrap_box_set_hspacing), (gtk_wrap_box_set_vspacing), (gtk_wrap_box_set_justify), (gtk_wrap_box_set_line_justify), (gtk_wrap_box_set_aspect_ratio), (gtk_wrap_box_pack), (gtk_wrap_box_reorder_child), (gtk_wrap_box_query_child_packing), (gtk_wrap_box_query_child_forced_break), (gtk_wrap_box_set_child_packing), (gtk_wrap_box_set_child_forced_break), (gtk_wrap_box_query_line_lengths), (gtk_wrap_box_map), (gtk_wrap_box_unmap), (gtk_wrap_box_draw), (gtk_wrap_box_expose), (gtk_wrap_box_add), (gtk_wrap_box_remove), (gtk_wrap_box_forall): * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Copied and pasted the wrapping hbox from the Gimp. I made a few modifications, including some resizing requests, when the chosen size is not the right one for the actual space available. Sizing wrapping boxes is a tricky problem with gtk, because they have nonstandard sizing requests (they can request x or y or z) and my solution is probably not optimal, since some of the sizing adjustments are visible on screen. However, a better fix is a lot more time consuming, and should probably wait for past 1.0. * src/nautilus-complex-search-bar.c: (search_bar_criterion_type_changed_callback), (queue_search_bar_resize_callback), (nautilus_complex_search_bar_initialize_class), (nautilus_complex_search_bar_initialize), (real_activate), (nautilus_complex_search_bar_queue_resize), (attach_criterion_to_search_bar), (unattach_criterion_from_search_bar), (load_find_them_pixmap_widget), (more_options_callback), (fewer_options_callback), (update_options_buttons_state): * src/nautilus-complex-search-bar.h: Changed the criteria layout to be in a vbox instead of a table, so that we can insert wrapping hboxes. Added a new function that will effectively resize the complex search bar, and we call it at appropriate points. Switched the packing order of the buttons, since the wrap box has only one packing function, and it is a pack_start, rather than a pack_end function * src/nautilus-search-bar-criterion-private.h: * src/nautilus-search-bar-criterion.c: (queue_bar_resize_callback), (nautilus_search_bar_criterion_new_from_values), (nautilus_search_bar_criterion_show), (nautilus_search_bar_criterion_hide), (nautilus_search_bar_criterion_update_valid_criteria_choices), (hide_date_widget), (show_date_widget), (make_emblem_value_menu): Put the criteria into wrapping boxes as part of their creation, and trigger a resize of the complex search bar when the wrapping box complains about its allocated size.
* reviewed by: Darin Adler <darin@eazel.com>Pavel Cisler2000-11-141-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-13 Pavel Cisler <pavel@eazel.com> reviewed by: Darin Adler <darin@eazel.com> * configure.in: Enable the sign-compare and cast-align warnings. * components/help/converters/gnome-db2html2/gdb3html.c: (find_first_element): * components/help/hyperbola-filefmt.c: (fmt_free_tree_info): * components/help/hyperbola-nav-index.c: (hyperbola_navigation_index_update_clist), (despace), (end_element): * components/history/nautilus-history-view.c: (history_load_location): * components/mozilla/nautilus-mozilla-content-view.c: (string_list_get_index_of_string): * components/services/install/lib/eazel-install-corba-types.c: (corba_string_sequence_to_glist), (corba_packagedatastructlist_from_packagedata_list), (packagedata_list_from_corba_packagedatastructlist), (categorydata_list_from_corba_categorystructlist): * components/services/install/lib/eazel-install-query.c: (eazel_install_simple_rpm_query): * components/services/install/lib/eazel-install-rpm-glue.c: (eazel_install_monitor_rpm_process_pipe): * components/services/install/lib/eazel-install-rpm-signature.c: (read_rpm_lead), (read_rpm_signature): * components/services/trilobite/libtrilobite/trilobite-root-helper. c: (trilobite_root_helper_run_program), (trilobite_root_helper_set_time): * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: (nautilus_clist_get_arg), (nautilus_clist_construct): * helper-utilities/authenticate/nautilus-authenticate.c: (main): * libnautilus-extensions/nautilus-background.c: (set_image_and_color_image_loading_done_callback): * libnautilus-extensions/nautilus-buffered-widget.c: (nautilus_gdk_pixbuf_tile_alpha): * libnautilus-extensions/nautilus-caption-table.c: (entry_activate): * libnautilus-extensions/nautilus-caption-table.h: * libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_node_nth), (nautilus_ctree_drag_motion): * libnautilus-extensions/nautilus-ctree.h: * libnautilus-extensions/nautilus-directory-async.c: (metafile_write): * libnautilus-extensions/nautilus-file-changes-queue.c: (nautilus_file_changes_consume_changes): * libnautilus-extensions/nautilus-file-operations-progress.c: (truncate_string_from_start): * libnautilus-extensions/nautilus-file-operations.c: (extract_string_until): * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_read_entire_file): * libnautilus-extensions/nautilus-gdk-extensions.c: (nautilus_get_largest_fitting_font): * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_get_sidebar_panel_view_identifiers): * libnautilus-extensions/nautilus-gtk-extensions.c: (nautilus_gtk_window_set_initial_geometry_from_string), (nautilus_gtk_menu_set_item_visibility): * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_or_measure_label_text), (draw_or_measure_label_text_aa): * libnautilus-extensions/nautilus-icon-container.c: (rubberband_timeout_callback), (destroy), (compute_stretch): * libnautilus-extensions/nautilus-icon-container.h: (nautilus_icon_container_find_drop_target): * libnautilus-extensions/nautilus-icon-factory.c: (check_recently_used_list), (get_themed_icon_file_path), (revise_scale_factors_if_too_big): * libnautilus-extensions/nautilus-icon-text-item.c: (recompute_bounding_box), (iti_draw), (iti_selection_motion): * libnautilus-extensions/nautilus-label.c: (nautilus_label_size_allocate), (label_recompute_line_geometries): * libnautilus-extensions/nautilus-list.c: (draw_cell), (nautilus_list_drag_data_received): * libnautilus-extensions/nautilus-mime-actions.c: (server_matches_content_requirements), (nautilus_do_component_query): * libnautilus-extensions/nautilus-password-dialog.c: (caption_table_activate_callback): * libnautilus-extensions/nautilus-preferences-item.c: (has_image_file): * libnautilus-extensions/nautilus-scalable-font.c: (file_as_string), (parse_font_description_file), (nautilus_text_layout_new): * libnautilus-extensions/nautilus-scalable-font.h: * libnautilus-extensions/nautilus-volume-monitor.c: (check_permissions): * libnautilus/nautilus-view.c: (nautilus_shallow_g_list_from_uri_list): * libnautilus/nautilus-zoomable.c: (nautilus_g_list_from_ZoomLevelList): * librsvg/rsvg-ft.c: (rsvg_ft_measure_or_render_string): * librsvg/rsvg.c: (rsvg_parse_transform): * src/file-manager/fm-icon-view.c: (fm_icon_view_create_background_context_menu_items), (get_sort_criterion_by_metadata_text), (get_sort_criterion_by_id): * src/file-manager/fm-list-view.c: (select_row_common), (select_matching_name_callback), (select_previous_next_common), (fm_list_view_bump_zoom_level): * src/nautilus-search-bar-criterion.c: (nautilus_search_bar_criterion_update_valid_criteria_choices): * src/nautilus-shell.c: (corba_open_windows), (corba_open_default_window): * src/nautilus-sidebar.c: (nautilus_sidebar_add_panel_items): * src/nautilus-window-menus.c: (nautilus_window_disable_keyboard_navigation_for_menus): * src/nautilus-window.c: (nautilus_window_size_request): Fix all sign-compare violations.
* Get rid of obsolete copy of GtkCList.Pavel Cisler2000-10-163-8700/+0
| | | | | | | | | | 2000-10-16 Pavel Cisler <pavel@eazel.com> * cut-n-paste-code/widgets/gtkclist/Makefile.am: * cut-n-paste-code/widgets/gtkclist/gtkclist.c: * cut-n-paste-code/widgets/gtkclist/gtkclist.h: Get rid of obsolete copy of GtkCList.
* Add FreeType2 information.Ramiro Estrugo2000-10-06147-75386/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Add FreeType2 information. * configure.in: Add support for using freetype2 installed in the system from devel rpms. * cut-n-paste-code/Makefile.am: * cut-n-paste-code/freetype/Makefile.am: * cut-n-paste-code/freetype/README: * cut-n-paste-code/freetype/autohint.h: * cut-n-paste-code/freetype/cff.c: * cut-n-paste-code/freetype/cidafm.c: * cut-n-paste-code/freetype/cidafm.h: * cut-n-paste-code/freetype/cidgload.c: * cut-n-paste-code/freetype/cidgload.h: * cut-n-paste-code/freetype/cidload.c: * cut-n-paste-code/freetype/cidload.h: * cut-n-paste-code/freetype/cidobjs.c: * cut-n-paste-code/freetype/cidobjs.h: * cut-n-paste-code/freetype/cidparse.c: * cut-n-paste-code/freetype/cidparse.h: * cut-n-paste-code/freetype/cidriver.c: * cut-n-paste-code/freetype/cidriver.h: * cut-n-paste-code/freetype/cidtokens.h: * cut-n-paste-code/freetype/freetype.h: * cut-n-paste-code/freetype/ftbase.c: * cut-n-paste-code/freetype/ftbbox.h: * cut-n-paste-code/freetype/ftcalc.c: * cut-n-paste-code/freetype/ftcalc.h: * cut-n-paste-code/freetype/ftconfig.h: * cut-n-paste-code/freetype/ftdebug.c: * cut-n-paste-code/freetype/ftdebug.h: * cut-n-paste-code/freetype/ftdriver.h: * cut-n-paste-code/freetype/fterrors.h: * cut-n-paste-code/freetype/ftextend.c: * cut-n-paste-code/freetype/ftextend.h: * cut-n-paste-code/freetype/ftglyph.c: * cut-n-paste-code/freetype/ftglyph.h: * cut-n-paste-code/freetype/ftgrays.c: * cut-n-paste-code/freetype/ftgrays.h: * cut-n-paste-code/freetype/ftimage.h: * cut-n-paste-code/freetype/ftinit.c: * cut-n-paste-code/freetype/ftlist.c: * cut-n-paste-code/freetype/ftlist.h: * cut-n-paste-code/freetype/ftmemory.h: * cut-n-paste-code/freetype/ftmm.c: * cut-n-paste-code/freetype/ftmm.h: * cut-n-paste-code/freetype/ftmodule-list.h: * cut-n-paste-code/freetype/ftmodule.h: * cut-n-paste-code/freetype/ftobjs.c: * cut-n-paste-code/freetype/ftobjs.h: * cut-n-paste-code/freetype/ftoption.h: * cut-n-paste-code/freetype/ftoutln.c: * cut-n-paste-code/freetype/ftoutln.h: * cut-n-paste-code/freetype/ftraster.c: * cut-n-paste-code/freetype/ftraster.h: * cut-n-paste-code/freetype/ftrend1.c: * cut-n-paste-code/freetype/ftrend1.h: * cut-n-paste-code/freetype/ftrender.h: * cut-n-paste-code/freetype/ftsmooth.c: * cut-n-paste-code/freetype/ftsmooth.h: * cut-n-paste-code/freetype/ftstream.c: * cut-n-paste-code/freetype/ftstream.h: * cut-n-paste-code/freetype/ftsystem.c: * cut-n-paste-code/freetype/ftsystem.h: * cut-n-paste-code/freetype/fttypes.h: * cut-n-paste-code/freetype/license.txt: * cut-n-paste-code/freetype/psmodule.c: * cut-n-paste-code/freetype/psmodule.h: * cut-n-paste-code/freetype/psnames.h: * cut-n-paste-code/freetype/pstables.h: * cut-n-paste-code/freetype/raster1.c: * cut-n-paste-code/freetype/sfdriver.c: * cut-n-paste-code/freetype/sfdriver.h: * cut-n-paste-code/freetype/sfnt.c: * cut-n-paste-code/freetype/sfnt.h: * cut-n-paste-code/freetype/sfobjs.c: * cut-n-paste-code/freetype/sfobjs.h: * cut-n-paste-code/freetype/smooth.c: * cut-n-paste-code/freetype/t1afm.c: * cut-n-paste-code/freetype/t1afm.h: * cut-n-paste-code/freetype/t1driver.c: * cut-n-paste-code/freetype/t1driver.h: * cut-n-paste-code/freetype/t1errors.h: * cut-n-paste-code/freetype/t1gload.c: * cut-n-paste-code/freetype/t1gload.h: * cut-n-paste-code/freetype/t1hinter.c: * cut-n-paste-code/freetype/t1hinter.h: * cut-n-paste-code/freetype/t1load.c: * cut-n-paste-code/freetype/t1load.h: * cut-n-paste-code/freetype/t1objs.c: * cut-n-paste-code/freetype/t1objs.h: * cut-n-paste-code/freetype/t1parse.c: * cut-n-paste-code/freetype/t1parse.h: * cut-n-paste-code/freetype/t1tables.h: * cut-n-paste-code/freetype/t1tokens.c: * cut-n-paste-code/freetype/t1tokens.h: * cut-n-paste-code/freetype/t1types.h: * cut-n-paste-code/freetype/t2driver.c: * cut-n-paste-code/freetype/t2driver.h: * cut-n-paste-code/freetype/t2errors.h: * cut-n-paste-code/freetype/t2gload.c: * cut-n-paste-code/freetype/t2gload.h: * cut-n-paste-code/freetype/t2load.c: * cut-n-paste-code/freetype/t2load.h: * cut-n-paste-code/freetype/t2objs.c: * cut-n-paste-code/freetype/t2objs.h: * cut-n-paste-code/freetype/t2parse.c: * cut-n-paste-code/freetype/t2parse.h: * cut-n-paste-code/freetype/t2tokens.h: * cut-n-paste-code/freetype/t2types.h: * cut-n-paste-code/freetype/truetype.c: * cut-n-paste-code/freetype/ttcmap.c: * cut-n-paste-code/freetype/ttcmap.h: * cut-n-paste-code/freetype/ttdriver.c: * cut-n-paste-code/freetype/ttdriver.h: * cut-n-paste-code/freetype/tterrors.h: * cut-n-paste-code/freetype/ttgload.c: * cut-n-paste-code/freetype/ttgload.h: * cut-n-paste-code/freetype/ttinterp.c: * cut-n-paste-code/freetype/ttinterp.h: * cut-n-paste-code/freetype/ttload.c: * cut-n-paste-code/freetype/ttload.h: * cut-n-paste-code/freetype/ttnameid.h: * cut-n-paste-code/freetype/ttobjs.c: * cut-n-paste-code/freetype/ttobjs.h: * cut-n-paste-code/freetype/ttpload.c: * cut-n-paste-code/freetype/ttpload.h: * cut-n-paste-code/freetype/ttpost.c: * cut-n-paste-code/freetype/ttpost.h: * cut-n-paste-code/freetype/ttsbit.c: * cut-n-paste-code/freetype/ttsbit.h: * cut-n-paste-code/freetype/tttables.h: * cut-n-paste-code/freetype/tttags.h: * cut-n-paste-code/freetype/tttypes.h: * cut-n-paste-code/freetype/type1.c: * cut-n-paste-code/freetype/type1cid.c: * cut-n-paste-code/freetype/type1z.c: * cut-n-paste-code/freetype/winfnt.c: * cut-n-paste-code/freetype/winfnt.h: * cut-n-paste-code/freetype/z1afm.c: * cut-n-paste-code/freetype/z1afm.h: * cut-n-paste-code/freetype/z1driver.c: * cut-n-paste-code/freetype/z1driver.h: * cut-n-paste-code/freetype/z1gload.c: * cut-n-paste-code/freetype/z1gload.h: * cut-n-paste-code/freetype/z1load.c: * cut-n-paste-code/freetype/z1load.h: * cut-n-paste-code/freetype/z1objs.c: * cut-n-paste-code/freetype/z1objs.h: * cut-n-paste-code/freetype/z1parse.c: * cut-n-paste-code/freetype/z1parse.h: * cut-n-paste-code/freetype/z1tokens.h: Removed the cut-n-pasted FreeType2 we had in our build. * libnautilus-extensions/Makefile.am: * librsvg/Makefile.am: * nautilus.spec.in: Update for FreeType2 changes.
* Work on 2036 - drawing glitches in ListView.Pavel Cisler2000-10-035-1/+8729
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-03 Pavel Cisler <pavel@eazel.com> Work on 2036 - drawing glitches in ListView. * configure.in: * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/nautilusclist/.cvsignore: * cut-n-paste-code/widgets/nautilusclist/Makefile.am: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.c: * cut-n-paste-code/widgets/nautilusclist/nautilusclist.h: (COLUMN_FROM_XPIXEL), (LIST_WIDTH), (nautilus_clist_get_type), (nautilus_clist_class_init), (nautilus_clist_set_arg), (nautilus_clist_get_arg), (nautilus_clist_init), (nautilus_clist_construct), (nautilus_clist_new), (nautilus_clist_new_with_titles), (nautilus_clist_set_hadjustment), (nautilus_clist_get_hadjustment), (nautilus_clist_set_vadjustment), (nautilus_clist_get_vadjustment), (nautilus_clist_set_scroll_adjustments), (nautilus_clist_set_shadow_type), (nautilus_clist_set_selection_mode), (nautilus_clist_freeze), (nautilus_clist_thaw), (nautilus_clist_column_titles_show), (nautilus_clist_column_titles_hide), (nautilus_clist_column_title_active), (nautilus_clist_column_title_passive), (nautilus_clist_column_titles_active), (nautilus_clist_column_titles_passive), (nautilus_clist_set_column_title), (nautilus_clist_get_column_title), (nautilus_clist_set_column_widget), (nautilus_clist_get_column_widget), (nautilus_clist_set_column_justification), (nautilus_clist_set_column_visibility), (nautilus_clist_set_column_resizeable), (nautilus_clist_set_column_auto_resize), (nautilus_clist_columns_autosize), (nautilus_clist_optimal_column_width): Had to create a copy of GtkCList to work around problems where the drawing code was getting called directly behind our derived classes back. Rebecka already set GtkCList up in the cut-n-paste directory. Move it to the Nautilus namespace so that it doesn't collide with the original. Add more methods to allow completely overriding all drawing by a derived class. Add not reached asserts in original GtkCList drawing code that was messing us up. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-list-column-title.c: (get_column_label_at), (get_column_frame_at), (nautilus_list_column_title_paint), (in_column_rect), (in_resize_rect): * libnautilus-extensions/nautilus-list.c: (nautilus_list_initialize_class), (activate_row), (nautilus_list_is_row_selected), (row_set_selected), (select_row_unselect_others), (nautilus_list_unselect_all), (nautilus_list_select_all), (nautilus_list_button_press), (nautilus_list_button_release), (nautilus_list_clear_keyboard_focus), (nautilus_list_set_keyboard_focus), (nautilus_list_keyboard_move_to), (nautilus_list_select_row), (keyboard_row_reveal_timeout_callback), (nautilus_list_reveal_row), (nautilus_clist_get_first_selected_row), (nautilus_clist_get_last_selected_row), (nautilus_list_keyboard_navigation_key_press), (nautilus_list_activate_selected_items), (nautilus_list_realize), (list_requisition_width), (nautilus_list_size_request), (new_column_width), (size_allocate_columns), (size_allocate_title_buttons), (nautilus_list_draw_focus), (get_cell_style), (get_cell_horizontal_start_position), (last_column_index), (get_cell_rectangle), (draw_cell), (draw_row), (nautilus_list_clear_from_row), (draw_rows), (draw_all), (nautilus_list_draw), (nautilus_list_expose), (nautilus_list_resize_column), (nautilus_list_mark_cell_as_link), (nautilus_list_set_cell_contents), (nautilus_list_set_pixbuf_list), (nautilus_list_track_new_column_width), (nautilus_list_motion), (nautilus_list_column_resize_track_start), (nautilus_list_column_resize_track), (nautilus_list_column_resize_track_end), (nautilus_list_real_scroll), (nautilus_list_clear), (nautilus_list_new_with_titles), (nautilus_list_row_at), (nautilus_list_get_selection), (nautilus_list_set_selection), (nautilus_list_each_selected_row), (nautilus_list_get_first_selected_row), (insert_row): * libnautilus-extensions/nautilus-list.h: * src/file-manager/fm-list-view.c: (column_clicked_callback), (fm_list_view_compare_rows), (compare_rows_by_name), (match_row_name), (context_click_selection_callback), (context_click_background_callback), (make_sorted_row_array), (select_row_common), (select_previous_next_common), (fm_list_nautilus_file_at), (row_get_data_binder), (fm_list_get_drag_pixmap), (create_list), (set_up_list), (add_to_list), (fm_list_view_clear), (fm_list_view_begin_adding_files), (fm_list_view_add_file), (remove_from_list), (fm_list_view_file_changed), (fm_list_view_done_adding_files), (real_is_empty), (fm_list_view_set_zoom_level), (fm_list_view_reset_row_height), (fm_list_view_select_all), (fm_list_view_sort_items), (install_row_images), (update_icons): Updated to match new renamings. * libnautilus-extensions/nautilus-list.h: * libnautilus-extensions/nautilus-list.c: (draw_rows), (draw_all): Make these a method, call them as such instead of calling them directly. Switch to the new NAUTILUS_CALL_VIRTUAL macro.
* Fixed bug bug 3264 (Tree view shows no branches for directories,Darin Adler2000-09-262-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...HACK... nodes visible), bug 3290 (changing directory or refreshing causes Gdk to assert), bug 2420 (Need to free original key when removing model node), and other assorted problems. * components/tree/nautilus-tree-view.c: (insert_hack_node), (remove_hack_node), (nautilus_tree_view_insert_model_node): Fix problem where the hash table key was neither g_strdup'd on the way in, nor g_free'd on the way out. This caused all the problems with bad nesting in the tree view. * nautilus-installer/src/installer.c: (create_pixmap): * src/file-manager/fm-list-view.c: (install_row_images): * src/nautilus-theme-selector.c: (add_theme): Added more checks for NULL before calling gdk_bitmap_unref. * src/file-manager/fm-directory-view.c: (no_items_showing): Fixed a NautilusDirectory ref. count leak. * libnautilus-extensions/nautilus-font-factory.c: (unref_global_font_factory), (nautilus_get_current_font_factory): Unref the font factory on exit. (nautilus_font_factory_initialize_class), (font_hash_node_free), (free_one_hash_node), (destroy): Added code to actually destroy the font factory. (unref_fixed_font), (nautilus_font_factory_get_fallback_font): Unref the fixed font on exit. * libnautilus-extensions/nautilus-volume-monitor.c: (unref_global_volume_monitor), (nautilus_volume_monitor_get): Unref the volume monitor on exit. * src/nautilus-signaller.c: (unref_global_signaller), (nautilus_signaller_get_current): Unref the signaller on exit. * src/nautilus-component-adapter-factory.c: (nautilus_component_adapter_factory_initialize): Replaced some strange FIXMEs with a simpler one. (nautilus_component_adapter_factory_destroy): Fix a CORBA object reference leak. (nautilus_component_adapter_factory_get): Did a ref/sink. * components/adapter/nautilus-adapter-control-embed-strategy.c: (nautilus_adapter_control_embed_strategy_new): * components/adapter/nautilus-adapter-embeddable-embed-strategy.c: (nautilus_adapter_embeddable_embed_strategy_new): * components/adapter/nautilus-adapter-file-load-strategy.c: (nautilus_adapter_file_load_strategy_new): * components/adapter/nautilus-adapter-progressive-load-strategy.c: (nautilus_adapter_progressive_load_strategy_new): * components/adapter/nautilus-adapter-stream-load-strategy.c: (nautilus_adapter_stream_load_strategy_new): * components/adapter/nautilus-adapter.c: (nautilus_adapter_new): * components/rpmview/nautilus-rpm-verify-window.c: (nautilus_rpm_verify_window_new): * components/services/install/lib/eazel-install-object.c: (eazel_install_new), (eazel_install_new_with_config): * components/services/time/service/trilobite-eazel-time-service.c: (trilobite_eazel_time_service_new): * components/services/trilobite/libtrilobite/trilobite-service-pass wordquery.c: (trilobite_passwordquery_new): * components/services/trilobite/libtrilobite/trilobite-service.c: (trilobite_service_new): * components/tree/nautilus-tree-expansion-state.c: (nautilus_tree_expansion_state_new): * components/tree/nautilus-tree-model.c: (nautilus_tree_model_new): * components/tree/nautilus-tree-node.c: (nautilus_tree_node_new): * cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_new): * cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_new): * libnautilus-extensions/bonobo-stream-vfs.c: (bonobo_stream_create): * libnautilus-extensions/nautilus-any-width-bin.c: (nautilus_any_width_bin_new): * libnautilus-extensions/nautilus-background.c: (nautilus_background_new): * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_new_with_icon): * libnautilus-extensions/nautilus-caption-table.c: (nautilus_caption_table_new): * libnautilus-extensions/nautilus-caption.c: (nautilus_caption_new): * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_new): * libnautilus-extensions/nautilus-druid-page-eazel.c: (nautilus_druid_page_eazel_new), (nautilus_druid_page_eazel_new_with_vals): * libnautilus-extensions/nautilus-druid.c: (nautilus_druid_new): * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_new): * libnautilus-extensions/nautilus-file-operations-progress.c: (nautilus_file_operations_progress_new): * libnautilus-extensions/nautilus-file.c: (nautilus_file_new_from_name), (nautilus_file_new_from_info): * libnautilus-extensions/nautilus-font-picker.c: (nautilus_font_picker_new): * libnautilus-extensions/nautilus-horizontal-splitter.c: (nautilus_horizontal_splitter_new): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_new): * libnautilus-extensions/nautilus-icon-factory.c: (get_icon_factory): * libnautilus-extensions/nautilus-image.c: (nautilus_image_new): * libnautilus-extensions/nautilus-keep-last-vertical-box.c: (nautilus_keep_last_vertical_box_new): * libnautilus-extensions/nautilus-label.c: (nautilus_label_new): * libnautilus-extensions/nautilus-list-column-title.c: (nautilus_list_column_title_new): * libnautilus-extensions/nautilus-list.c: (nautilus_list_new_with_titles): * libnautilus-extensions/nautilus-password-dialog.c: (nautilus_password_dialog_new): * libnautilus-extensions/nautilus-preference.c: (nautilus_preference_new_from_type): * libnautilus-extensions/nautilus-preferences-box.c: (nautilus_preferences_box_new): * libnautilus-extensions/nautilus-preferences-dialog.c: (nautilus_preferences_dialog_new): * libnautilus-extensions/nautilus-preferences-group.c: (nautilus_preferences_group_new): * libnautilus-extensions/nautilus-preferences-item.c: (nautilus_preferences_item_new): * libnautilus-extensions/nautilus-preferences-pane.c: (nautilus_preferences_pane_new): * libnautilus-extensions/nautilus-radio-button-group.c: (nautilus_radio_button_group_new): * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_new): * libnautilus-extensions/nautilus-string-picker.c: (nautilus_string_picker_new): * libnautilus-extensions/nautilus-text-caption.c: (nautilus_text_caption_new): * libnautilus-extensions/nautilus-undo-context.c: (nautilus_undo_context_new): * libnautilus-extensions/nautilus-undo-manager.c: (nautilus_undo_manager_new): * libnautilus-extensions/nautilus-user-level-manager.c: (user_level_manager_new): * libnautilus/nautilus-undo-transaction.c: (nautilus_undo_transaction_new): * libnautilus/nautilus-view.c: (nautilus_view_new_from_bonobo_control): * src/file-manager/nautilus-trash-monitor.c: (nautilus_trash_monitor_get): * src/nautilus-desktop-window.c: (nautilus_desktop_window_new): * src/nautilus-property-browser.c: (nautilus_property_browser_new): * src/nautilus-shell.c: (nautilus_shell_new): * src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_new): * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_new): * src/nautilus-sidebar.c: (nautilus_sidebar_create_context_menu), (nautilus_sidebar_new): * src/nautilus-theme-selector.c: (nautilus_theme_selector_new): * src/nautilus-throbber.c: (nautilus_throbber_new): * src/nautilus-view-frame.c: (nautilus_view_frame_new): * src/nautilus-zoom-control.c: (nautilus_zoom_control_new): * src/nautilus-about.c: (nautilus_about_new): * src/nautilus-application.c: (nautilus_application_new), (nautilus_application_create_window): * src/nautilus-bookmark-list.c: (nautilus_bookmark_list_new): After Tim Janik explained that gtk_type_new is a low-level call to be avoided, changed most uses of gtk_type_new to gtk_object_new or gtk_widget_new. Also, after Owen and Havoc explained that you can't just ignore the floating bit, added ref/sink calls to the functions used to create objects where we don't use the floating scheme. * src/nautilus-zoom-control.c: (nautilus_zoom_control_button_press_event): Take advantage of the fact that the new menu is floating and don't bother with ref'ing. * libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_new_with_titles): Added a cast. * components/adapter/main.c: (adapter_factory_make_object): * components/hardware/main.c: (hardware_view_make_object): * components/services/install/lib/eazel-install-corba-callback.c: (eazel_install_callback_get_type), (eazel_install_callback_new): * libnautilus-extensions/nautilus-theme.c: (nautilus_theme_get_theme), (nautilus_theme_set_theme), (nautilus_theme_get_theme_data): Whitespace tweaks.