[nautilus/remove-emblems-splitted: 1/23] [src] remove NautilusPropertyBrowser



commit c1a69337f031d0fce79fb6f0be52c44670145668
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun Jul 25 11:21:59 2010 +0200

    [src] remove NautilusPropertyBrowser
    
    This is part of a complete removal of the backgrounds/emblems feature.

 src/Makefile.am                        |    2 -
 src/nautilus-navigation-window-menus.c |    1 -
 src/nautilus-property-browser.c        | 2308 --------------------------------
 src/nautilus-property-browser.h        |   71 -
 src/nautilus-shell-ui.xml              |    1 -
 src/nautilus-window-menus.c            |   16 -
 6 files changed, 0 insertions(+), 2399 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index bcb35bd..ae876ef 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -101,8 +101,6 @@ nautilus_SOURCES = \
 	nautilus-pathbar.h			\
 	nautilus-places-sidebar.c		\
 	nautilus-places-sidebar.h		\
-	nautilus-property-browser.c     	\
-	nautilus-property-browser.h		\
 	nautilus-query-editor.c			\
 	nautilus-query-editor.h			\
 	nautilus-search-bar.c			\
diff --git a/src/nautilus-navigation-window-menus.c b/src/nautilus-navigation-window-menus.c
index 192b51d..d3db305 100644
--- a/src/nautilus-navigation-window-menus.c
+++ b/src/nautilus-navigation-window-menus.c
@@ -38,7 +38,6 @@
 #include "nautilus-bookmark-list.h"
 #include "nautilus-bookmarks-window.h"
 #include "nautilus-file-management-properties.h"
-#include "nautilus-property-browser.h"
 #include "nautilus-window-manage-views.h"
 #include "nautilus-window-private.h"
 #include "nautilus-window-bookmarks.h"
diff --git a/src/nautilus-shell-ui.xml b/src/nautilus-shell-ui.xml
index 05ad73e..2686beb 100644
--- a/src/nautilus-shell-ui.xml
+++ b/src/nautilus-shell-ui.xml
@@ -37,7 +37,6 @@
 		<separator/>
 		<placeholder name="Extension Actions"/>
 		<separator/>
-		<menuitem name="Backgrounds and Emblems" action="Backgrounds and Emblems"/>
 		<menuitem name="Preferences" action="Preferences"/>
 	</menu>
 	<menu action="View">
diff --git a/src/nautilus-window-menus.c b/src/nautilus-window-menus.c
index ab84dcc..b1a36db 100644
--- a/src/nautilus-window-menus.c
+++ b/src/nautilus-window-menus.c
@@ -33,7 +33,6 @@
 #include "nautilus-application.h"
 #include "nautilus-connect-server-dialog.h"
 #include "nautilus-file-management-properties.h"
-#include "nautilus-property-browser.h"
 #include "nautilus-window-manage-views.h"
 #include "nautilus-window-bookmarks.h"
 #include "nautilus-window-private.h"
@@ -453,17 +452,6 @@ action_preferences_callback (GtkAction *action,
 }
 
 static void
-action_backgrounds_and_emblems_callback (GtkAction *action, 
-					 gpointer user_data)
-{
-	GtkWindow *window;
-
-	window = GTK_WINDOW (user_data);
-
-	nautilus_property_browser_show (gtk_window_get_screen (window));
-}
-
-static void
 action_about_nautilus_callback (GtkAction *action,
 				gpointer user_data)
 {
@@ -788,10 +776,6 @@ static const GtkActionEntry main_entries[] = {
   /* label, accelerator */       N_("_Close"), "<control>W",
   /* tooltip */                  N_("Close this folder"),
                                  G_CALLBACK (action_close_window_slot_callback) },
-                               { "Backgrounds and Emblems", NULL,
-                                 N_("_Backgrounds and Emblems..."),               
-                                 NULL, N_("Display patterns, colors, and emblems that can be used to customize appearance"),
-                                 G_CALLBACK (action_backgrounds_and_emblems_callback) },
                                { "Preferences", GTK_STOCK_PREFERENCES,
                                  N_("Prefere_nces"),               
                                  NULL, N_("Edit Nautilus preferences"),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]