nautilus r14689 - in trunk: . libnautilus-private src src/file-manager
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14689 - in trunk: . libnautilus-private src src/file-manager
- Date: Mon, 6 Oct 2008 10:50:39 +0000 (UTC)
Author: alexl
Date: Mon Oct 6 10:50:39 2008
New Revision: 14689
URL: http://svn.gnome.org/viewvc/nautilus?rev=14689&view=rev
Log:
2008-10-06 Cosimo Cecchi <cosimoc gnome org>
* libnautilus-private/nautilus-customization-data.c:
* libnautilus-private/nautilus-dnd.c:
* libnautilus-private/nautilus-file-utilities.c:
* libnautilus-private/nautilus-file.c:
* libnautilus-private/nautilus-global-preferences.c:
* libnautilus-private/nautilus-icon-dnd.c:
* libnautilus-private/nautilus-icon-private.h:
* libnautilus-private/nautilus-monitor.c:
* src/file-manager/fm-desktop-icon-view.c:
* src/file-manager/fm-ditem-page.c:
* src/file-manager/fm-error-reporting.h:
* src/file-manager/fm-list-view.c:
* src/file-manager/fm-properties-window.c:
* src/nautilus-history-sidebar.c:
* src/nautilus-image-properties-page.c:
* src/nautilus-information-panel.c:
* src/nautilus-location-bar.c:
* src/nautilus-location-entry.c:
* src/nautilus-main.c:
* src/nautilus-navigation-window-menus.c:
* src/nautilus-navigation-window.c:
* src/nautilus-places-sidebar.c:
* src/nautilus-window-manage-views.c:
* src/nautilus-window-toolbars.c:
Remove unnecessary includes of libgnome
Modified:
trunk/ChangeLog
trunk/libnautilus-private/nautilus-customization-data.c
trunk/libnautilus-private/nautilus-dnd.c
trunk/libnautilus-private/nautilus-file-utilities.c
trunk/libnautilus-private/nautilus-file.c
trunk/libnautilus-private/nautilus-global-preferences.c
trunk/libnautilus-private/nautilus-icon-dnd.c
trunk/libnautilus-private/nautilus-icon-private.h
trunk/libnautilus-private/nautilus-monitor.c
trunk/src/file-manager/fm-desktop-icon-view.c
trunk/src/file-manager/fm-ditem-page.c
trunk/src/file-manager/fm-error-reporting.h
trunk/src/file-manager/fm-list-view.c
trunk/src/file-manager/fm-properties-window.c
trunk/src/nautilus-history-sidebar.c
trunk/src/nautilus-image-properties-page.c
trunk/src/nautilus-information-panel.c
trunk/src/nautilus-location-bar.c
trunk/src/nautilus-location-entry.c
trunk/src/nautilus-main.c
trunk/src/nautilus-navigation-window-menus.c
trunk/src/nautilus-navigation-window.c
trunk/src/nautilus-places-sidebar.c
trunk/src/nautilus-window-manage-views.c
trunk/src/nautilus-window-toolbars.c
Modified: trunk/libnautilus-private/nautilus-customization-data.c
==============================================================================
--- trunk/libnautilus-private/nautilus-customization-data.c (original)
+++ trunk/libnautilus-private/nautilus-customization-data.c Mon Oct 6 10:50:39 2008
@@ -43,7 +43,6 @@
#include <gtk/gtk.h>
#include <librsvg/rsvg.h>
#include <glib/gi18n.h>
-#include <libgnome/gnome-util.h>
#include <libxml/parser.h>
#include <stdlib.h>
#include <string.h>
Modified: trunk/libnautilus-private/nautilus-dnd.c
==============================================================================
--- trunk/libnautilus-private/nautilus-dnd.c (original)
+++ trunk/libnautilus-private/nautilus-dnd.c Mon Oct 6 10:50:39 2008
@@ -40,7 +40,6 @@
#include <eel/eel-vfs-extensions.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <libgnomeui/gnome-uidefs.h>
#include <libnautilus-private/nautilus-file-utilities.h>
#include <stdio.h>
#include <string.h>
Modified: trunk/libnautilus-private/nautilus-file-utilities.c
==============================================================================
--- trunk/libnautilus-private/nautilus-file-utilities.c (original)
+++ trunk/libnautilus-private/nautilus-file-utilities.c Mon Oct 6 10:50:39 2008
@@ -35,7 +35,6 @@
#include <eel/eel-glib-extensions.h>
#include <eel/eel-string.h>
#include <eel/eel-debug.h>
-#include <libgnome/gnome-util.h>
#include <glib.h>
#include <glib/gi18n.h>
#include <glib/gstdio.h>
Modified: trunk/libnautilus-private/nautilus-file.c
==============================================================================
--- trunk/libnautilus-private/nautilus-file.c (original)
+++ trunk/libnautilus-private/nautilus-file.c Mon Oct 6 10:50:39 2008
@@ -59,7 +59,6 @@
#include <glib/gstdio.h>
#include <gio/gio.h>
#include <glib/gurifuncs.h>
-#include <libgnome/gnome-macros.h>
#include <glib/gfileutils.h>
#include <libnautilus-extension/nautilus-file-info.h>
#include <libxml/parser.h>
Modified: trunk/libnautilus-private/nautilus-global-preferences.c
==============================================================================
--- trunk/libnautilus-private/nautilus-global-preferences.c (original)
+++ trunk/libnautilus-private/nautilus-global-preferences.c Mon Oct 6 10:50:39 2008
@@ -34,7 +34,6 @@
#include <eel/eel-stock-dialogs.h>
#include <eel/eel-string.h>
#include <glib/gi18n.h>
-#include <libgnome/gnome-util.h>
/* Constants */
#define STRING_ARRAY_DEFAULT_TOKENS_DELIMETER ","
Modified: trunk/libnautilus-private/nautilus-icon-dnd.c
==============================================================================
--- trunk/libnautilus-private/nautilus-icon-dnd.c (original)
+++ trunk/libnautilus-private/nautilus-icon-dnd.c Mon Oct 6 10:50:39 2008
@@ -55,8 +55,6 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <eel/eel-canvas-rect-ellipse.h>
-#include <libgnomeui/gnome-stock-icons.h>
-#include <libgnomeui/gnome-uidefs.h>
#include <libnautilus-private/nautilus-file-utilities.h>
#include <libnautilus-private/nautilus-file-changes-queue.h>
#include <stdio.h>
Modified: trunk/libnautilus-private/nautilus-icon-private.h
==============================================================================
--- trunk/libnautilus-private/nautilus-icon-private.h (original)
+++ trunk/libnautilus-private/nautilus-icon-private.h Mon Oct 6 10:50:39 2008
@@ -26,7 +26,6 @@
#define NAUTILUS_ICON_CONTAINER_PRIVATE_H
#include <eel/eel-glib-extensions.h>
-#include <libgnomeui/gnome-icon-item.h>
#include <libnautilus-private/nautilus-icon-canvas-item.h>
#include <libnautilus-private/nautilus-icon-container.h>
#include <libnautilus-private/nautilus-icon-dnd.h>
Modified: trunk/libnautilus-private/nautilus-monitor.c
==============================================================================
--- trunk/libnautilus-private/nautilus-monitor.c (original)
+++ trunk/libnautilus-private/nautilus-monitor.c Mon Oct 6 10:50:39 2008
@@ -30,7 +30,6 @@
#include "nautilus-file-utilities.h"
#include <gio/gio.h>
-#include <libgnome/gnome-util.h>
struct NautilusMonitor {
GFileMonitor *monitor;
Modified: trunk/src/file-manager/fm-desktop-icon-view.c
==============================================================================
--- trunk/src/file-manager/fm-desktop-icon-view.c (original)
+++ trunk/src/file-manager/fm-desktop-icon-view.c Mon Oct 6 10:50:39 2008
@@ -42,7 +42,6 @@
#include <fcntl.h>
#include <gdk/gdkx.h>
#include <glib/gi18n.h>
-#include <libgnome/gnome-util.h>
#include <libnautilus-private/nautilus-desktop-icon-file.h>
#include <libnautilus-private/nautilus-directory-background.h>
#include <libnautilus-private/nautilus-directory-notify.h>
Modified: trunk/src/file-manager/fm-ditem-page.c
==============================================================================
--- trunk/src/file-manager/fm-ditem-page.c (original)
+++ trunk/src/file-manager/fm-ditem-page.c Mon Oct 6 10:50:39 2008
@@ -29,7 +29,6 @@
#include <eel/eel-glib-extensions.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <libgnomeui/gnome-uidefs.h>
#include <libnautilus-extension/nautilus-extension-types.h>
#include <libnautilus-extension/nautilus-file-info.h>
#include <libnautilus-private/nautilus-file.h>
Modified: trunk/src/file-manager/fm-error-reporting.h
==============================================================================
--- trunk/src/file-manager/fm-error-reporting.h (original)
+++ trunk/src/file-manager/fm-error-reporting.h Mon Oct 6 10:50:39 2008
@@ -27,7 +27,6 @@
#define FM_ERROR_REPORTING_H
#include <gtk/gtk.h>
-#include <libgnomevfs/gnome-vfs-types.h>
#include <libnautilus-private/nautilus-file.h>
void fm_report_error_loading_directory (NautilusFile *file,
Modified: trunk/src/file-manager/fm-list-view.c
==============================================================================
--- trunk/src/file-manager/fm-list-view.c (original)
+++ trunk/src/file-manager/fm-list-view.c Mon Oct 6 10:50:39 2008
@@ -41,7 +41,6 @@
#include <libegg/eggtreemultidnd.h>
#include <glib/gi18n.h>
#include <glib-object.h>
-#include <libgnome/gnome-macros.h>
#include <libnautilus-extension/nautilus-column-provider.h>
#include <libnautilus-private/nautilus-column-chooser.h>
#include <libnautilus-private/nautilus-column-utilities.h>
Modified: trunk/src/file-manager/fm-properties-window.c
==============================================================================
--- trunk/src/file-manager/fm-properties-window.c (original)
+++ trunk/src/file-manager/fm-properties-window.c Mon Oct 6 10:50:39 2008
@@ -57,6 +57,7 @@
#include <libnautilus-private/nautilus-mime-actions.h>
#include <libnautilus-private/nautilus-undo.h>
#include <string.h>
+#include <sys/stat.h>
#include <cairo.h>
#if HAVE_SYS_STATVFS_H
Modified: trunk/src/nautilus-history-sidebar.c
==============================================================================
--- trunk/src/nautilus-history-sidebar.c (original)
+++ trunk/src/nautilus-history-sidebar.c Mon Oct 6 10:50:39 2008
@@ -32,7 +32,6 @@
#include <eel/eel-glib-extensions.h>
#include <eel/eel-preferences.h>
#include <gtk/gtk.h>
-#include <libgnome/gnome-macros.h>
#include <glib/gi18n.h>
#include <libnautilus-private/nautilus-bookmark.h>
#include <libnautilus-private/nautilus-global-preferences.h>
Modified: trunk/src/nautilus-image-properties-page.c
==============================================================================
--- trunk/src/nautilus-image-properties-page.c (original)
+++ trunk/src/nautilus-image-properties-page.c Mon Oct 6 10:50:39 2008
@@ -27,7 +27,6 @@
#include "nautilus-image-properties-page.h"
#include <gtk/gtk.h>
-#include <libgnome/gnome-macros.h>
#include <glib/gi18n.h>
#include <gio/gio.h>
#include <eel/eel-vfs-extensions.h>
Modified: trunk/src/nautilus-information-panel.c
==============================================================================
--- trunk/src/nautilus-information-panel.c (original)
+++ trunk/src/nautilus-information-panel.c Mon Oct 6 10:50:39 2008
@@ -38,7 +38,6 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <libgnomeui/gnome-uidefs.h>
#include <libnautilus-private/nautilus-dnd.h>
#include <libnautilus-private/nautilus-directory.h>
#include <libnautilus-private/nautilus-file-dnd.h>
@@ -225,8 +224,8 @@
gtk_box_pack_start_defaults (GTK_BOX (information_panel->details->container),
GTK_WIDGET (information_panel->details->button_box_centerer));
- information_panel->details->button_box = GTK_VBOX (nautilus_keep_last_vertical_box_new (GNOME_PAD_SMALL));
- gtk_container_set_border_width (GTK_CONTAINER (information_panel->details->button_box), GNOME_PAD);
+ information_panel->details->button_box = GTK_VBOX (nautilus_keep_last_vertical_box_new (4));
+ gtk_container_set_border_width (GTK_CONTAINER (information_panel->details->button_box), 8);
gtk_widget_show (GTK_WIDGET (information_panel->details->button_box));
gtk_box_pack_start (GTK_BOX (information_panel->details->button_box_centerer),
GTK_WIDGET (information_panel->details->button_box),
@@ -263,7 +262,7 @@
gtk_widget_show (GTK_WIDGET (information_panel->details->title));
gtk_box_pack_start (GTK_BOX (information_panel->details->container),
GTK_WIDGET (information_panel->details->title),
- FALSE, FALSE, GNOME_PAD);
+ FALSE, FALSE, 8);
/* allocate and install the command button container */
make_button_box (information_panel);
Modified: trunk/src/nautilus-location-bar.c
==============================================================================
--- trunk/src/nautilus-location-bar.c (original)
+++ trunk/src/nautilus-location-bar.c Mon Oct 6 10:50:39 2008
@@ -44,8 +44,6 @@
#include <eel/eel-vfs-extensions.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <libgnomeui/gnome-stock-icons.h>
-#include <libgnomeui/gnome-uidefs.h>
#include <libnautilus-private/nautilus-icon-dnd.h>
#include <libnautilus-private/nautilus-clipboard.h>
#include <stdio.h>
@@ -417,8 +415,7 @@
event_box = gtk_event_box_new ();
gtk_event_box_set_visible_window (GTK_EVENT_BOX (event_box), FALSE);
- gtk_container_set_border_width (GTK_CONTAINER (event_box),
- GNOME_PAD_SMALL);
+ gtk_container_set_border_width (GTK_CONTAINER (event_box), 4);
label = gtk_label_new (LOCATION_LABEL);
gtk_container_add (GTK_CONTAINER (event_box), label);
gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_RIGHT);
@@ -426,8 +423,7 @@
g_signal_connect (label, "style_set",
G_CALLBACK (style_set_handler), NULL);
- gtk_box_pack_start (GTK_BOX (hbox), event_box, FALSE, TRUE,
- GNOME_PAD_SMALL);
+ gtk_box_pack_start (GTK_BOX (hbox), event_box, FALSE, TRUE, 4);
entry = nautilus_location_entry_new ();
Modified: trunk/src/nautilus-location-entry.c
==============================================================================
--- trunk/src/nautilus-location-entry.c (original)
+++ trunk/src/nautilus-location-entry.c Mon Oct 6 10:50:39 2008
@@ -40,10 +40,9 @@
#include <eel/eel-stock-dialogs.h>
#include <eel/eel-string.h>
#include <gtk/gtk.h>
+#include <gdk/gdkkeysyms.h>
#include <glib/gi18n.h>
#include <gio/gio.h>
-#include <libgnomeui/gnome-stock-icons.h>
-#include <libgnomeui/gnome-uidefs.h>
#include <libnautilus-private/nautilus-file-utilities.h>
#include <libnautilus-private/nautilus-entry.h>
#include <libnautilus-private/nautilus-icon-dnd.h>
Modified: trunk/src/nautilus-main.c
==============================================================================
--- trunk/src/nautilus-main.c (original)
+++ trunk/src/nautilus-main.c Mon Oct 6 10:50:39 2008
@@ -45,9 +45,6 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <gio/gdesktopappinfo.h>
-#include <libgnome/gnome-init.h>
-#include <libgnomeui/gnome-ui-init.h>
-#include <libgnomeui/gnome-client.h>
#include <libnautilus-private/nautilus-debug-log.h>
#include <libnautilus-private/nautilus-directory-metafile.h>
#include <libnautilus-private/nautilus-global-preferences.h>
Modified: trunk/src/nautilus-navigation-window-menus.c
==============================================================================
--- trunk/src/nautilus-navigation-window-menus.c (original)
+++ trunk/src/nautilus-navigation-window-menus.c Mon Oct 6 10:50:39 2008
@@ -47,11 +47,7 @@
#include <eel/eel-xml-extensions.h>
#include <libxml/parser.h>
#include <gtk/gtk.h>
-#include <libgnome/gnome-help.h>
#include <glib/gi18n.h>
-#include <libgnome/gnome-util.h>
-#include <libgnomeui/gnome-about.h>
-#include <libgnomeui/gnome-uidefs.h>
#include <libnautilus-private/nautilus-file-utilities.h>
#include <libnautilus-private/nautilus-global-preferences.h>
#include <libnautilus-private/nautilus-ui-utilities.h>
Modified: trunk/src/nautilus-navigation-window.c
==============================================================================
--- trunk/src/nautilus-navigation-window.c (original)
+++ trunk/src/nautilus-navigation-window.c Mon Oct 6 10:50:39 2008
@@ -53,7 +53,6 @@
#ifdef HAVE_X11_XF86KEYSYM_H
#include <X11/XF86keysym.h>
#endif
-#include <libgnomeui/gnome-uidefs.h>
#include <libnautilus-private/nautilus-file-utilities.h>
#include <libnautilus-private/nautilus-file-attributes.h>
#include <libnautilus-private/nautilus-global-preferences.h>
@@ -409,7 +408,7 @@
gtk_widget_show (hbox);
item = gtk_tool_item_new ();
- gtk_container_set_border_width (GTK_CONTAINER (item), GNOME_PAD_SMALL);
+ gtk_container_set_border_width (GTK_CONTAINER (item), 4);
gtk_widget_show (GTK_WIDGET (item));
gtk_tool_item_set_expand (item, TRUE);
gtk_container_add (GTK_CONTAINER (item), hbox);
@@ -454,11 +453,11 @@
/* Option menu for content view types; it's empty here, filled in when a uri is set.
* Pack it into vbox so it doesn't grow vertically when location bar does.
*/
- view_as_menu_vbox = gtk_vbox_new (FALSE, GNOME_PAD_SMALL);
+ view_as_menu_vbox = gtk_vbox_new (FALSE, 4);
gtk_widget_show (view_as_menu_vbox);
item = gtk_tool_item_new ();
- gtk_container_set_border_width (GTK_CONTAINER (item), GNOME_PAD_SMALL);
+ gtk_container_set_border_width (GTK_CONTAINER (item), 4);
gtk_widget_show (GTK_WIDGET (item));
gtk_container_add (GTK_CONTAINER (item), view_as_menu_vbox);
gtk_toolbar_insert (GTK_TOOLBAR (location_bar),
@@ -489,7 +488,7 @@
window, G_CONNECT_SWAPPED);
item = gtk_tool_item_new ();
- gtk_container_set_border_width (GTK_CONTAINER (item), GNOME_PAD_SMALL);
+ gtk_container_set_border_width (GTK_CONTAINER (item), 4);
gtk_widget_show (GTK_WIDGET (item));
gtk_container_add (GTK_CONTAINER (item), window->zoom_control);
gtk_toolbar_insert (GTK_TOOLBAR (location_bar),
Modified: trunk/src/nautilus-places-sidebar.c
==============================================================================
--- trunk/src/nautilus-places-sidebar.c (original)
+++ trunk/src/nautilus-places-sidebar.c Mon Oct 6 10:50:39 2008
@@ -31,9 +31,7 @@
#include <eel/eel-stock-dialogs.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
-#include <libgnome/gnome-macros.h>
#include <glib/gi18n.h>
-#include <libgnomeui/gnome-popup-menu.h>
#include <libnautilus-private/nautilus-debug-log.h>
#include <libnautilus-private/nautilus-dnd.h>
#include <libnautilus-private/nautilus-bookmark.h>
Modified: trunk/src/nautilus-window-manage-views.c
==============================================================================
--- trunk/src/nautilus-window-manage-views.c (original)
+++ trunk/src/nautilus-window-manage-views.c Mon Oct 6 10:50:39 2008
@@ -52,7 +52,6 @@
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include <glib/gi18n.h>
-#include <libgnomeui/gnome-icon-theme.h>
#include <libnautilus-extension/nautilus-location-widget-provider.h>
#include <libnautilus-private/nautilus-debug-log.h>
#include <libnautilus-private/nautilus-file-attributes.h>
Modified: trunk/src/nautilus-window-toolbars.c
==============================================================================
--- trunk/src/nautilus-window-toolbars.c (original)
+++ trunk/src/nautilus-window-toolbars.c Mon Oct 6 10:50:39 2008
@@ -40,7 +40,6 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <glib/gi18n.h>
-#include <libgnomeui/gnome-popup-menu.h>
#include <libnautilus-extension/nautilus-menu-provider.h>
#include <libnautilus-private/nautilus-bookmark.h>
#include <libnautilus-private/nautilus-file-utilities.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]