[devhelp/gnome-2-32] book manager dialog removal, as it's now in the preferences dialog



commit 39c36121a2ee356c7977053406877df95be0d8d6
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Jul 6 12:01:39 2010 +0200

    book manager dialog removal, as it's now in the preferences dialog

 src/Makefile.am              |    2 -
 src/dh-book-manager-dialog.c |  172 ------------------------------------------
 src/dh-book-manager-dialog.h |   33 --------
 src/dh-window.c              |   10 ---
 4 files changed, 0 insertions(+), 217 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 314f254..9d04e76 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -80,12 +80,10 @@ libdevhelp_1_la_SOURCES =				\
 	dh-search.c					\
 	dh-parser.c					\
 	dh-preferences.c				\
-	dh-book-manager-dialog.c			\
 	dh-util.c					\
 	dh-window.c					\
 	dh-parser.h					\
 	dh-preferences.h                                \
-	dh-book-manager-dialog.h			\
 	dh-util.h					\
 	eggfindbar.c					\
 	eggfindbar.h					\
diff --git a/src/dh-window.c b/src/dh-window.c
index 5b1a68b..760e9b1 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -40,7 +40,6 @@
 #include "dh-book-manager.h"
 #include "dh-book.h"
 #include "dh-preferences.h"
-#include "dh-book-manager-dialog.h"
 #include "dh-search.h"
 #include "dh-window.h"
 #include "dh-util.h"
@@ -661,13 +660,6 @@ window_activate_preferences (GtkAction *action,
 }
 
 static void
-window_activate_book_manager (GtkAction *action,
-                              DhWindow *window)
-{
-        dh_book_manager_dialog_show (GTK_WINDOW (window));
-}
-
-static void
 window_activate_back (GtkAction *action,
                       DhWindow  *window)
 {
@@ -806,8 +798,6 @@ static const GtkActionEntry actions[] = {
           G_CALLBACK (window_find_previous_cb) },
         { "Preferences", GTK_STOCK_PREFERENCES, NULL, NULL, NULL,
           G_CALLBACK (window_activate_preferences) },
-        { "BookManager", GTK_STOCK_FILE, N_("Manage booksâ?¦"), NULL, NULL,
-          G_CALLBACK (window_activate_book_manager) },
 
         /* Go menu */
         { "Back", GTK_STOCK_GO_BACK, NULL, "<alt>Left",



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