Cosimo Cecchi
0fa45e385b
Use G_DEFINE_TYPE_* instead of hand-written nautilus_foo_get_type()
...
2009-02-02 Cosimo Cecchi <cosimoc@pluto>
* libnautilus-extension/nautilus-column.c:
(nautilus_column_finalize), (nautilus_column_init),
(nautilus_column_class_init):
* libnautilus-extension/nautilus-menu.c: (nautilus_menu_finalize):
* libnautilus-private/nautilus-cell-renderer-pixbuf-emblem.c:
(nautilus_cell_renderer_pixbuf_emblem_class_init),
(nautilus_cell_renderer_pixbuf_emblem_finalize):
* libnautilus-private/nautilus-cell-renderer-text-ellipsized.c:
(nautilus_cell_renderer_text_ellipsized_init),
(nautilus_cell_renderer_text_ellipsized_class_init),
(nautilus_cell_renderer_text_ellipsized_get_size):
* libnautilus-private/nautilus-entry.c: (nautilus_entry_finalize),
(nautilus_entry_key_press), (nautilus_entry_motion_notify),
(nautilus_entry_button_press), (nautilus_entry_button_release),
(nautilus_entry_selection_clear), (nautilus_entry_class_init):
* libnautilus-private/nautilus-file.c: (nautilus_file_init),
(nautilus_file_constructor), (finalize),
(nautilus_file_class_init):
* libnautilus-private/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_finalize),
(nautilus_icon_canvas_item_update),
(nautilus_icon_canvas_item_class_init):
* libnautilus-private/nautilus-icon-container.c:
(nautilus_icon_container_new):
* libnautilus-private/nautilus-icon-container.h:
* libnautilus-private/nautilus-mime-application-chooser.c:
(nautilus_mime_application_chooser_finalize),
(nautilus_mime_application_chooser_destroy),
(nautilus_mime_application_chooser_class_init),
(nautilus_mime_application_chooser_init):
* libnautilus-private/nautilus-open-with-dialog.c:
(nautilus_open_with_dialog_finalize),
(nautilus_open_with_dialog_destroy),
(nautilus_open_with_dialog_class_init),
(nautilus_open_with_dialog_init):
* src/file-manager/fm-icon-container.c:
* src/file-manager/fm-list-model.c: (fm_list_model_dispose),
(fm_list_model_finalize), (fm_list_model_class_init):
* src/file-manager/fm-tree-model.c: (fm_tree_model_finalize),
(fm_tree_model_class_init):
Use G_DEFINE_TYPE_* instead of hand-written nautilus_foo_get_type()
functions where possible.
svn path=/trunk/; revision=14911
2009-02-02 16:47:17 +00:00
Cosimo Cecchi
7fce8f06d6
Use single GLib/GTK+ includes. Patch by Maxim Ermilov ( #560432 ).
...
2008-12-06 Cosimo Cecchi <cosimoc@gnome.org>
* cut-n-paste-code/libegg/eggtreemultidnd.c:
* cut-n-paste-code/libegg/eggtreemultidnd.h:
* libnautilus-extension/nautilus-menu.c:
* libnautilus-private/nautilus-directory-notify.h:
* libnautilus-private/nautilus-file-operations.c:
* libnautilus-private/nautilus-file.c:
* libnautilus-private/nautilus-icon-info.h:
* libnautilus-private/nautilus-idle-queue.h:
* libnautilus-private/nautilus-monitor.h:
* libnautilus-private/nautilus-search-engine-simple.c:
* src/file-manager/fm-list-model.c:
* src/file-manager/fm-list-model.h:
* src/file-manager/fm-list-view.c:
* src/nautilus-emblem-sidebar.h:
* src/nautilus-notebook.c:
* src/nautilus-notebook.h:
Use single GLib/GTK+ includes. Patch by Maxim Ermilov (#560432 ).
svn path=/trunk/; revision=14797
2008-12-06 10:26:20 +00:00
Christian Persch
4e887d6079
Only include gtk/gtk.h, to allow extensions to build with
...
* libnautilus-extension/nautilus-location-widget-provider.h:
* libnautilus-extension/nautilus-menu-provider.h:
* libnautilus-extension/nautilus-property-page.h: Only include
gtk/gtk.h, to allow extensions to build with
*_DISABLE_SINGLE_INCLKUDES. Bug #558070 .
svn path=/trunk/; revision=14767
2008-10-27 11:16:06 +00:00
Cosimo Cecchi
31d3fc91d8
Remove gnome-vfs from the required libs.
...
2008-10-02 Cosimo Cecchi <cosimoc@gnome.org>
* libnautilus-extension/libnautilus-extension-uninstalled.pc.in:
Remove gnome-vfs from the required libs.
svn path=/trunk/; revision=14679
2008-10-02 14:27:48 +00:00
Gilles Dartiguelongue
5f460bab23
include some documentation, bug #396929 .
...
2008-09-04 Gilles Dartiguelongue <gdartigu@svn.gnome.org>
include some documentation, bug #396929 .
svn path=/trunk/; revision=14581
2008-09-03 23:20:30 +00:00
Cosimo Cecchi
957f93fd37
Add new APIs for extensions to NautilusFileInfo (can_write, get_mount and
...
2008-04-04 Cosimo Cecchi <cosimoc@gnome.org>
* libnautilus-extension/nautilus-file-info.c:
(nautilus_file_info_get_parent_info),
(nautilus_file_info_get_mount), (nautilus_file_info_can_write):
* libnautilus-extension/nautilus-file-info.h:
* libnautilus-private/nautilus-file.c:
(nautilus_file_info_iface_init):
Add new APIs for extensions to NautilusFileInfo (can_write, get_mount
and get_parent_info). (#521612 ).
svn path=/trunk/; revision=14036
2008-04-04 15:51:47 +00:00
Alexander Larsson
36481d7c1a
Add attribute_q property that is the Quark of the attribute property.
...
2008-01-22 Alexander Larsson <alexl@redhat.com>
* libnautilus-extension/nautilus-column.c:
Add attribute_q property that is the Quark
of the attribute property.
* src/file-manager/fm-icon-container.c:
* src/file-manager/fm-list-model.[ch]:
* src/file-manager/fm-list-view.c:
Use the quark versions of the string attribute
calls for better performance.
svn path=/trunk/; revision=13642
2008-01-22 22:41:46 +00:00
Alexander Larsson
f3b55a7cad
Pull in gio, not gnome-vfs.
...
2008-01-04 Alexander Larsson <alexl@redhat.com>
* libnautilus-extension/libnautilus-extension.pc.in:
Pull in gio, not gnome-vfs.
* libnautilus-extension/nautilus-file-info.[ch]:
* libnautilus-private/nautilus-file.c:
Export some gio specific things like file type and
location/parent location.
* libnautilus-private/nautilus-desktop-icon-file.c:
These are G_FILE_TYPE_SHORTCUT files, not REGULAR files.
svn path=/trunk/; revision=13560
2008-01-04 14:34:03 +00:00
Brian Pepple
16d5642e83
Update to use extensions-2.0 dir.
...
2007-12-24 Brian Pepple <bpepple@fedoraproject.org>
* libnautilus-extension/libnautilus-extension.pc.in (extensiondir):
* libnautilus-extension/libnautilus-extension-uninstalled.pc.in (extensiondir):
Update to use extensions-2.0 dir.
svn path=/trunk/; revision=13554
2008-01-03 10:02:07 +00:00
Alexander Larsson
469047a2a5
Merge gio-branch
...
svn path=/trunk/; revision=13464
2007-11-30 14:51:10 +00:00
Martin Wehner
610a76defb
Remove excess lines from uninstalled.pc file. ( #462496 ) Patch from Damien
...
2007-08-02 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-extension/libnautilus-extension-uninstalled.pc.in:
Remove excess lines from uninstalled.pc file. (#462496 )
Patch from Damien Carbery <damien.carbery@sun.com>
svn path=/trunk/; revision=13046
2007-08-02 00:40:15 +00:00
Martin Wehner
6c6238276d
Add uninstalled pkg-config file. ( #400114 ) Patch from Brian Cameron
...
2007-07-21 Martin Wehner <martin.wehner@gmail.com>
* configure.in:
* libnautilus-extension/libnautilus-extension-uninstalled.pc.in:
Add uninstalled pkg-config file. (#400114 )
Patch from Brian Cameron <brian.cameron@sun.com>
svn path=/trunk/; revision=13007
2007-07-21 16:22:20 +00:00
Christian Persch
eb26edd25e
No need to make GTypeInfo and GInterfaceInfo static. Bug #362034 .
...
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
2007-01-18 12:26:35 +00:00
Christian Persch
8e00ed171c
Update svn:ignore and remove .cvsignore files
...
svn path=/trunk/; revision=12678
2006-12-31 17:15:07 +00:00
Christian Neumair
c68589f4ef
Add nautilus_file_info_get_activation_uri().
...
2006-12-18 Christian Neumair <chris@gnome-de.org>
* libnautilus-extension/nautilus-file-info.c:
* libnautilus-extension/nautilus-file-info.h:
* libnautilus-private/nautilus-file.c:
Add nautilus_file_info_get_activation_uri().
2006-12-18 19:38:57 +00:00
Martin Wehner
52a5209e9a
Fix C99-style variable initialization for gcc 2.95. ( #348665 )
...
2006-10-30 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-extension/nautilus-menu.c: (nautilus_menu_get_items):
* libnautilus-private/nautilus-metafile.c: (find_monitor_node):
Fix C99-style variable initialization for gcc 2.95. (#348665 )
Patch from Jens Granseuer <jensgr@gmx.net>
2006-10-30 21:36:50 +00:00
Martin Wehner
0a9fe18765
Add extension versioning infrastructure and add nautilus-menu.[ch].
...
2006-07-24 Martin Wehner <martin.wehner@gmail.com>
* configure.in:
* libnautilus-extension/Makefile.am:
Add extension versioning infrastructure and add nautilus-menu.[ch].
* libnautilus-extension/nautilus-menu-item.[ch]:
Add and handle a 'menu' property and add a function
nautilus_menu_item_set_submenu.
* libnautilus-extension/nautilus-menu.[ch]:
New files implementing a submenu item.
* src/file-manager/fm-directory-view.c: (add_extension_menu_items),
(reset_extension_actions_menu):
Add extension menu items recursively.
* libnautilus-extension/nautilus-menu-provider.h:
Update include.
Extend extension API to support submenus. (#314579 )
Patch from Raffaele Sandrini <rasa@gmx.ch>
2006-07-24 21:38:26 +00:00
Alexander Larsson
1a7f1da177
Add items_updated signal
...
2006-06-16 Alexander Larsson <alexl@redhat.com>
* libnautilus-extension/nautilus-menu-provider.[ch]:
Add items_updated signal
* libnautilus-private/Makefile.am:
* libnautilus-private/nautilus-signaller.[ch]:
* src/nautilus-signaller.[ch]:
* src/Makefile.am:
Move NautilusSignaller to libnautilus-private.
Add popup_menu_changed signal.
* src/nautilus-application.c:
Signal popup_menu_changed when a menu provider emits items_updated.
* src/file-manager/fm-directory-view.c:
* src/nautilus-window.c:
Handle popup_menu_changed.
* src/nautilus-emblem-sidebar.c:
* src/nautilus-history-sidebar.c:
* src/nautilus-navigation-window-menus.c:
* src/nautilus-navigation-window.c:
* src/nautilus-property-browser.c:
* src/nautilus-spatial-window.c:
* src/nautilus-window-menus.c:
Update includes.
Patch from RUAUDEL Frédéric <ruaudel@embl.fr>
2006-06-16 15:40:18 +00:00
Alexander Larsson
201555f807
Add NautilusLocationWidgetProvider
...
2005-12-20 Alexander Larsson <alexl@redhat.com>
* libnautilus-extension/Makefile.am:
* libnautilus-extension/nautilus-location-widget-provider.[ch]:
Add NautilusLocationWidgetProvider
* src/nautilus-window-manage-views.c:
Use NautilusLocationWidgetProvider
2005-12-20 10:00:59 +00:00
Alexander Larsson
ba13b716d3
Chain up in finalize handler, to fix leaks.
...
2005-12-16 Alexander Larsson <alexl@redhat.com>
* libnautilus-extension/nautilus-column.c:
* libnautilus-extension/nautilus-menu-item.c:
* libnautilus-extension/nautilus-property-page.c:
Chain up in finalize handler, to fix leaks.
2005-12-16 15:49:17 +00:00
Alexander Larsson
551994e5f7
Build fixes for cygwin. Patch from Yaakov S (Cygwin Port)
...
2005-10-18 Alexander Larsson <alexl@redhat.com>
* libnautilus-extension/Makefile.am:
* libnautilus-private/Makefile.am:
Build fixes for cygwin.
Patch from Yaakov S (Cygwin Port)
2005-10-18 08:48:56 +00:00
Alexander Larsson
63b1cb172c
Add new functions for extensions: nautilus_file_info_has_volume,
...
2005-10-03 Alexander Larsson <alexl@redhat.com>
* libnautilus-extension/nautilus-file-info.c:
* libnautilus-extension/nautilus-file-info.h:
* libnautilus-private/nautilus-file.c:
Add new functions for extensions:
nautilus_file_info_has_volume, nautilus_file_info_has_drive,
nautilus_file_info_get_volume, nautilus_file_info_get_drive
Patch from Trevor Davenport
2005-10-03 13:44:48 +00:00
Christian Neumair
7dce6d40a1
Don't mark object property names/descriptions for translation. Fixes
...
2005-06-03 Christian Neumair <chris@gnome-de.org>
* libnautilus-extension/nautilus-column.c:
(nautilus_column_class_init):
* libnautilus-extension/nautilus-menu-item.c:
(nautilus_menu_item_class_init):
* libnautilus-extension/nautilus-property-page.c:
(nautilus_property_page_class_init):
* libnautilus-private/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_class_init):
* libnautilus-private/nautilus-icon-container.c:
(nautilus_icon_container_class_init):
* src/nautilus-window.c: (nautilus_window_class_init):
Don't mark object property names/descriptions for translation. Fixes
#135281 .
2005-06-03 07:48:01 +00:00
Rodrigo Moya
e5223672ce
added extensiondir variable so that extensions can find out via pkg-config
...
2005-06-02 Rodrigo Moya <rodrigo@novell.com>
* libnautilus-extension/libnautilus-extension.pc.in: added
extensiondir variable so that extensions can find out via pkg-config
the dir to install to.
2005-06-02 11:05:39 +00:00
Gediminas Paulauskas
0b87e404f7
add
2004-08-30 13:31:49 +00:00
Alexander Larsson
b2ab30a858
Remove extra comma in enum. Fixes bug #142351 Patch from Christian
...
2004-08-16 Alexander Larsson <alexl@redhat.com>
* libnautilus-extension/nautilus-extension-types.h:
Remove extra comma in enum. Fixes bug #142351
Patch from Christian Neumair.
* libnautilus-private/apps_nautilus_preferences.schemas.in:
Add computer_icon_name schema entry. Fixes bug #144728 .
Patch from Christian Neumair.
Remove add_to_session schema entry.
* src/nautilus-application.c: (update_session), (init_session):
* libnautilus-private/nautilus-global-preferences.c:
* libnautilus-private/nautilus-global-preferences.h:
Remove add_to_session preference. Fixes bug #91543
Patch from Havoc Pennington
* nautilus.desktop.in:
Rename file browser entry. Fixes bug #131272 .
Patch from Michael Terry.
* src/file-manager/fm-directory-view.c:
(warn_mismatched_mime_types):
Don't show (null) for mimetypes with no description.
Fixes bug #141509 .
Patch from Christian Neumair.
* src/file-manager/fm-properties-window.c:
(create_properties_window):
Allow properties dialog to be resized.
Fixed bug #147918
Patch from Christian Neumair.
* src/nautilus-window-menus.c:
(help_menu_nautilus_manual_callback):
Fix help link. Fixes bug #143927
Patch from Kaushal Kumar
2004-08-16 10:39:02 +00:00
Dave Camp
7c8e7911bd
New function.
...
2004-03-04 Dave Camp <dave@ximian.com>
* libnautilus-extension/nautilus-file-info.c:
(nautilus_file_info_invalidate_extension_info):
* libnautilus-extension/nautilus-file-info.h:
* libnautilus-private/nautilus-file.c:
(nautilus_file_invalidate_extension_info),
(nautilus_file_info_iface_init): New function.
2004-03-04 20:29:58 +00:00
Dave Camp
ea1eb81a02
Removed OrigTree.pm Include nautilus-extensions-i18n.h
...
2004-01-12 Dave Camp <dave@ximian.com>
* Makefile.am: Removed OrigTree.pm
* libnautilus-extension/Makefile.am:
Include nautilus-extensions-i18n.h
* src/nautilus-spatial-window.c:
* src/nautilus-window.c: Removed broken #includes.
* NEWS:
* configure.in: 2.5.5
2004-01-12 23:46:22 +00:00
Alexander Larsson
d1fdcaf788
Inherit from GTypeInterface.
...
2004-01-12 Alexander Larsson <alexl@redhat.com>
* libnautilus-extension/nautilus-file-info.h:
Inherit from GTypeInterface.
2004-01-12 21:22:41 +00:00
Dave Camp
7cb9107c85
Merged from nautilus-extensions-branch.
...
2004-01-11 Dave Camp <dave@ximian.com>
* Merged from nautilus-extensions-branch.
2004-01-11 20:35:02 +00:00