summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-properties-window.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge bonobo-slay-branchAlexander Larsson2004-11-221-1/+0
| | | | | 2004-11-22 Alexander Larsson <alexl@redhat.com> * Merge bonobo-slay-branch
* Patch from: Juerg Billeter <j@bitron.ch>Alexander Larsson2004-01-061-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-06 Alexander Larsson <alexl@redhat.com> Patch from: Juerg Billeter <j@bitron.ch> * components/Makefile.am: * components/tree/ Remove tree component (moved to file-manager) * src/Nautilus_shell.server.in: * src/file-manager/Makefile.am: Move tree view here * src/nautilus-application.c: Tree view activation * src/file-manager/fm-properties-window.[ch]: * src/file-manager/fm-directory-view.c: Make properties window take GtkWidget instead of DirectoryView. * src/file-manager/fm-tree-model.[ch]: * src/file-manager/fm-tree-view.[ch]: Move tree view here, first cut at popup menus
* Implement multi-file property dialogs.Dave Camp2003-06-081-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-08 Dave Camp <dave@ximian.com> * src/file-manager/fm-properties-window.h: * libnautilus-private/nautilus-mime-actions.c: (has_server_info_in_list), (server_info_list_intersection), (nautilus_mime_get_property_components_for_files): * libnautilus-private/nautilus-mime-actions.h: * src/file-manager/fm-directory-view.c: (open_properties_window_callback), (open_one_in_new_window): * src/file-manager/fm-properties-window.c: (is_multi_file_window), (get_original_file), (get_target_file_for_original_file), (get_target_file), (add_prompt_and_separator), (get_pixbuf_for_properties_window), (reset_icon), (create_image_widget_for_file), (update_name_field), (name_field_restore_original_name), (name_field_done_editing), (file_has_keyword), (get_initial_emblem_state), (emblem_button_toggled), (emblem_button_update), (update_properties_window_title), (remove_from_dialog), (mime_list_equal), (get_mime_list), (properties_window_update), (file_list_attributes_identical), (file_list_get_string_attribute), (file_list_all_local), (file_list_all_directories), (value_field_update_internal), (value_field_update), (attach_value_field_internal), (attach_value_field), (attach_ellipsizing_value_field), (append_separator), (directory_contents_value_field_update), (attach_directory_contents_value_field), (append_title_value_pair), (append_title_and_ellipsizing_value), (update_visibility_of_item_count_fields), (should_show_custom_icon_buttons), (should_show_file_type), (should_show_accessed_date), (should_show_mime_type), (should_show_link_target), (should_show_free_space), (create_basic_page), (get_initial_emblems), (create_emblems_page), (permission_change_callback), (get_initial_permission_state), (permission_button_toggled), (permission_button_update), (set_up_permissions_checkbox), (add_permissions_checkbox), (append_special_execution_checkbox), (append_special_execution_flags), (all_can_get_permissions), (all_can_set_permissions), (get_initial_permissions), (create_permissions_page), (get_uri_list), (bonobo_page_activate_callback), (can_handle_multiple_files), (append_bonobo_pages), (should_show_emblems), (should_show_permissions), (get_pending_key), (startup_data_new), (startup_data_free), (create_properties_window), (get_target_file_list), (add_window), (remove_window), (get_existing_window), (cancel_create_properties_window_callback), (directory_view_destroyed_callback), (cancel_call_when_ready_callback), (remove_pending), (is_directory_ready_callback), (fm_properties_window_present), (real_destroy), (real_finalize), (set_icon_callback), (select_image_button_callback), (remove_image_button_callback): Implement multi-file property dialogs. * components/image_properties/Nautilus_View_image_properties.server .in.in: * components/image_properties/nautilus-image-properties-view.c: (nautilus_image_properties_view_finalize), (get_property), (set_property), (nautilus_image_properties_view_init): * components/notes/Nautilus_View_notes.server.in.in: * components/notes/nautilus-notes.c: (set_bonobo_properties), (make_notes_view): Use new multipage property.
* s/GtkType/GType/Alexander Larsson2003-02-041-1/+1
|
* Make treeview show_only_directories default to TRUE. Patch from MArkAlexander Larsson2002-11-281-3/+3
| | | | | | | | | | | | | 2002-11-28 Alexander Larsson <alexl@redhat.com> * libnautilus-private/apps_nautilus_preferences.schemas: Make treeview show_only_directories default to TRUE. Patch from MArk Finlay <sisob@eircom.net> * src/file-manager/fm-properties-window.[ch]: Make window not dialog, patch from David Emory Watson <dwatson@cs.ucr.edu> Center window on mouse at popup.
* Properties dialog fixes for #95836.Dennis M. Cranston2002-10-251-3/+3
| | | | | | | 2002-10-24 Dennis M. Cranston <dennis_cranston@yahoo.com> * src/file-manager/fm-properties-window.[ch]: Properties dialog fixes for #95836.
* Updated bugzilla.eazel.com references to refer to theDarin Adler2001-09-151-1/+1
| | | | | corresponding bugzilla.gnome.org bug. Also updated my email address.
* nautilus-extensions -> nautilus-private renaming.Ramiro Estrugo2001-05-041-1/+1
|
* reviewed by: Pavel Cisler <pavel@eazel.com>John Sullivan2000-12-011-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed bug 4911 (Crash emptying trash while displaying properties window for trashed file) This crawled out of the woodwork recently, and required several small fixes here and there to solve it nicely, including making FMPropertiesWindow a subclass -- formerly it was just a GtkWindow with a bunch of wired-up widgets. * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_directory_item_count), (nautilus_file_get_deep_counts): Allow non-directory items (files marked gone don't count as directories). Fill in return values in all cases, even return_if_fail cases. * src/file-manager/fm-error-reporting.c: (fm_report_error_renaming_file): Specific error message for the case where the file being renamed no longer exists. I ran into this partway through my changes, tested this fix, then changed the caller to not hit this case. * src/file-manager/fm-properties-window.h: Standard header stuff now that FMPropertiesWindow is a class and not just some grouped functions. * src/file-manager/fm-properties-window.c: (fm_properties_window_initialize_class), (fm_properties_window_initialize): Standard functions needed for class. (name_field_done_editing): Don't try to rename file that's gone. (create_group_menu_item), (create_owner_menu_item): Added some parameter checking. (synch_groups_menu), (synch_owner_menu): Check for NULL result from nautilus_file_get_string_attribute before making a menu item from it (GTK is unhappy with using NULL for a label). (directory_contents_value_field_update): Soften assert to make it not fire when file is gone. (update_permissions_check_button_state): Bail out if file is gone. (create_properties_window): Create an FMPropertiesWindow instead of a GtkWindow; set up its Details. (create_properties_window_callback): Removed signal handler for "destroy" now that there's a default handler for this class. (forget_properties_window): Removed function, guts now in real_destroy. (real_shutdown): Disconnect file-changed signal here. This is the core fix of the infinite loop reported in bug 4911. (real_destroy): Do the stuff formerly done in forget_properties_window here.
* Finished the remaining details of bug 2061 (Show PropertiesJohn Sullivan2000-08-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | should show volume properties for desktop icons). I split the "Show Properties for Trash" bug off as a separate task (2146), since it has its own set of issues. * src/file-manager/fm-properties-window.h: Eliminated fm_properties_window_get_or_create, which returned a GtkWindow, in favor of new fm_properties_window_present, which doesn't. This was required to do create the window asynchronously. * src/file-manager/fm-directory-view.c: (open_one_properties_window): Switch caller to use new fm_properties_window_present. It had been wiring up an Undo manager on the result window; this code got moved into the asynchronous callback part of creating a properties window. * src/file-manager/fm-properties-window.c: (create_pixmap_widget_for_file): ref file stored with pixmap widget; this had been creating a ref/unref mismatch that we had never noticed before probably due to extraneous refs elsewhere. (name_field_focus_out), (name_field_focus_in), (create_basic_page): Only do special focus handling with the name field if it's sensitive. (get_and_ref_file_to_display): initialize file_to_display to NULL. This was crashing non-special-Desktop-case Properties windows. (create_properties_window_callback): New function, asynchronous callback to create the properties window. (fm_properties_window_present): Create properties window with asynchronous nautilus_file_call_when_ready so it doesn't try to create the window until it can tell whether the file is a directory or not. We never noticed this not working before because Show Properties had only been invoked on existing, info-bearing NautilusFile objects.
* Fixed bug 983. Added user_changed signal.Gene Z. Ragan2000-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-08 Gene Z. Ragan <gzr@eazel.com> * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_initialize_class), (nautilus_entry_initialize): Fixed bug 983. Added user_changed signal. (nautilus_entry_destroy), (nautilus_entry_set_text), (nautilus_entry_insert_text), (nautilus_entry_delete_text), (free_undo_data), (register_edit_undo), (restore_from_undo_snapshot_callback), (nautilus_entry_set_undo_key): Cleanups in the way undo was being registered. Created local undo data structure and removed cached undo text from class. Localized checking of undo registered boolean to a single location. (user_changed_callback): Added callback coonected to user changed signal. Undo registering is handled here. * src/nautilus-bookmarks-window.c: (create_bookmarks_window), (on_select_row), (on_text_field_focus_in_event), (on_text_field_focus_out_event), (repopulate): Updated code to properly handle undo. * src/nautilus-location-bar.c: (nautilus_location_bar_set_location): Updated code to properly handle undo.
* Split libnautilus into two pieces.Ramiro Estrugo2000-04-141-1/+1
| | | | | | | | | | | | libnautilus now only contains the view interfaces needed by nautilus components. These are the interfaces defined in nautilus-view-component.idl. libnautilus-extensions containes the remainder of the stuff. Also used the cvs repository munging opportunity to do some of the ntl-* renaming outlined in the RENAIMING file.
* Broke the file part of nautilus-directory.[ch] into nautilus-file.[ch].Darin Adler2000-03-081-0/+34
* components/music/nautilus-music-view.c, components/notes/ntl-notes.c, libnautilus/Makefile.am, libnautilus/nautilus-directory-private.h, libnautilus/nautilus-directory.h, libnautilus/nautilus-directory.c, libnautilus/nautilus-file-private.h, libnautilus/nautilus-file.h, libnautilus/nautilus-file.c, libnautilus/nautilus-icon-factory.h, src/ntl-index-panel.c, src/file-manager/fm-directory-view.h: Broke the file part of nautilus-directory.[ch] into nautilus-file.[ch]. * libnautilus/nautilus-string.c (nautilus_strstrip): Added more tests. Changed algorithm on strstrip so it's linear instead of n^2. * libnautilus/gnome-icon-container.c (gnome_icon_container_initialize): Fixed font for "larger" zoom level. Also made it assert if the font can't be loaded. * components/help/hyperbola-nav-index.c (despace): Fixed warning. * libnautilus/gnome-icon-container-dnd.c, libnautilus/nautilus-string.h: Whitespace. * src/file-manager/Makefile.am, src/file-manager/fm-directory-view.c, src/file-manager/fm-properties-window.h, src/file-manager/fm-properties-window.c: Added properties window hook, but no window yet. The menu item still needs to be added to the main menus as well as the context menus. * src/file-manager/fm-directory-view.c, src/file-manager/fm-directory-view-icons.c, src/file-manager/fm-icon-text-window.h, src/file-manager/fm-icon-text-window.c: A little cleanup. Shorter names.