diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index 9d5d5d26d..c2a26c2aa 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -574,7 +574,6 @@ class BookListDisplay: glade_file = os.path.join(base,"book.glade") self.xml = gtk.Builder() self.xml.add_from_source(glade_file) - self.xml.get_object('top').hide() self.top = self.xml.get_object('booklist') ManagedWindow.set_titles(self.top, @@ -689,10 +688,10 @@ class BookReportSelector(ManagedWindow.ManagedWindow): self.xml = gtk.Builder() self.xml.add_from_file(glade_file) - self.xml.get_object('booklist').hide() window = self.xml.get_object("top") title_label = self.xml.get_object('title') self.set_window(window, title_label, self.title) + window.show() self.xml.connect_signals({ "on_add_clicked" : self.on_add_clicked, diff --git a/src/plugins/book.glade b/src/plugins/book.glade index ae0f74768..607990de6 100644 --- a/src/plugins/book.glade +++ b/src/plugins/book.glade @@ -1,571 +1,456 @@ - + + 600 600 - True Book - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False True - False - 0 True - False - 0 True - False - 0 True - - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 12 12 - 0 False False + 0 True - False - 0 True - False - 0 True + 12 Book _name: True - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 12 - 0 name_entry - 0 False False + 0 True True - True - True - 0 - - True - * - False 6 - True - True + 1 - 0 - True - True + 0 True - False - 0 True - Clear the book - True True - GTK_RELIEF_NORMAL - + True + False + Clear the book + True gtk-clear - 4 - 0.5 - 0.5 - 0 - 0 + 4 - 0 False False + 0 True - Save current set of configured selections - True True - GTK_RELIEF_NORMAL - + True + False + Save current set of configured selections + True gtk-save - 4 - 0.5 - 0.5 - 0 - 0 + 4 - 0 False False + 1 True - Open previously created book - True True - GTK_RELIEF_NORMAL - + True + False + Open previously created book + True gtk-open - 4 - 0.5 - 0.5 - 0 - 0 + 4 - 0 False False + 2 True - Manage previously created books - True True - GTK_RELIEF_NORMAL - + True + False + Manage previously created books + True gtk-index - 4 - 0.5 - 0.5 - 0 - 0 + 4 - 0 False False + 3 - 6 False False - GTK_PACK_END + 6 + end + 1 - 0 False False + 1 True 2 - 1 - False - 0 - 0 True - - False - True - GTK_JUSTIFY_LEFT - False - False 0 0 12 6 + True avail_tree - 0 - 1 - 0 - 1 - + True True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT + automatic + automatic + in True True - True - False - False - True - 0 - 1 1 2 + GTK_FILL 12 6 - fill 6 - True - True + 2 True 2 - 1 - False - 0 - 0 True - - False - True - GTK_JUSTIFY_LEFT - False - False 0 0 12 6 + True book_tree - 0 - 1 - 0 - 1 - + True True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_ETCHED_IN - GTK_CORNER_TOP_LEFT + automatic + automatic + etched-in True True - True - False - False - True - 0 - 1 1 2 + GTK_FILL 12 6 - fill 6 - True - True + 3 - 0 - True - True + 0 True - False - 0 True - False 2 True - Add an item to the book - True True - GTK_RELIEF_NORMAL - + True + False + Add an item to the book + True gtk-add - 4 - 0.5 - 0.5 - 0 - 0 + 4 - 0 False False + 0 True - Remove currently selected item from the book - True True - GTK_RELIEF_NORMAL - + True + False + Remove currently selected item from the book + True gtk-remove - 4 - 0.5 - 0.5 - 0 - 0 + 4 - 0 False False + 1 True - Move current selection one step up in the book - True True - GTK_RELIEF_NORMAL - + True + False + Move current selection one step up in the book + True gtk-go-up - 4 - 0.5 - 0.5 - 0 - 0 + 4 - 0 False False + 2 True - Move current selection one step down in the book - True True - GTK_RELIEF_NORMAL - + True + False + Move current selection one step down in the book + True gtk-go-down - 4 - 0.5 - 0.5 - 0 - 0 + 4 - 0 False False + 3 True - Configure currently selected item - True True - GTK_RELIEF_NORMAL - + True + False + Configure currently selected item + True gtk-preferences - 4 - 0.5 - 0.5 - 0 - 0 + 4 - 0 False False + 4 - 8 False False - GTK_PACK_END + 8 + end + 1 - 10 False False - GTK_PACK_END + 10 + end + 1 - 0 - True - True + 0 - 6 True - GTK_BUTTONBOX_END + 6 6 + end - True - True - True gtk-close + True + True + True + False True - GTK_RELIEF_NORMAL - + + + False + False + 0 + - True - True - True gtk-ok + True + True + True + False True - GTK_RELIEF_NORMAL - + + + False + False + 1 + - 0 False - True + 1 @@ -573,120 +458,107 @@ 300 - True - - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False + normal False True - False - 0 - - - True - GTK_BUTTONBOX_END - - - True - True - True - gtk-delete - True - GTK_RELIEF_NORMAL - - - - - - True - True - True - gtk-close - True - GTK_RELIEF_NORMAL - - - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - - - - - - 0 - False - True - GTK_PACK_END - - True - False - 0 True - - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 6 - 0 False False + 0 - 12 True True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT + 12 + automatic + automatic + in True True False - False - False - True - 0 - True - True + 1 - 0 - True - True + 1 + + + + + True + end + + + gtk-delete + True + True + True + False + True + + + + False + False + 0 + + + + + gtk-close + True + True + True + False + True + + + + False + False + 1 + + + + + gtk-ok + True + True + True + False + True + + + + False + False + 2 + + + + + False + end + 0 diff --git a/src/plugins/tool/Verify.py b/src/plugins/tool/Verify.py index 9458debcc..72e4e2312 100644 --- a/src/plugins/tool/Verify.py +++ b/src/plugins/tool/Verify.py @@ -270,7 +270,6 @@ class Verify(Tool.Tool, ManagedWindow, UpdateCallback): self.top.get_object(option).set_value( self.options.handler.options_dict[option] ) - self.top.get_object("verify_result").hide() self.window.show() def build_menu_names(self, obj): @@ -493,7 +492,6 @@ class VerifyResults(ManagedWindow): name_column.set_sort_column_id(VerifyResults.OBJ_NAME_COL) self.warn_tree.append_column(name_column) - self.top.get_object("verify_settings").hide() self.window.show() self.window_shown = False diff --git a/src/plugins/tool/verify.glade b/src/plugins/tool/verify.glade index 8ad7699ca..86e391e50 100644 --- a/src/plugins/tool/verify.glade +++ b/src/plugins/tool/verify.glade @@ -3,7 +3,6 @@ - True dialog @@ -695,7 +694,6 @@ - True 500 300 dialog