Changeset 57
- Timestamp:
- 03/23/07 03:37:47 (22 months ago)
- Files:
-
- 2 modified
-
conseil.glade (modified) (9 diffs)
-
conseil.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
conseil.glade
r56 r57 58 58 <property name="label" translatable="yes">E_xport Bookmarks</property> 59 59 <property name="use_underline">True</property> 60 <signal name="activate" handler="on_exporter_bookmarks 1_activate"/>60 <signal name="activate" handler="on_exporter_bookmarks_activate"/> 61 61 <child internal-child="image"> 62 62 <widget class="GtkImage" id="menu-item-image3"> … … 160 160 <widget class="GtkMenu" id="menuitem4_menu"> 161 161 <child> 162 <widget class="GtkImageMenuItem" id="À_propos 1">162 <widget class="GtkImageMenuItem" id="À_propos"> 163 163 <property name="visible">True</property> 164 164 <property name="label">gtk-about</property> 165 165 <property name="use_underline">True</property> 166 166 <property name="use_stock">True</property> 167 <signal name="activate" handler="on_a_propos_activate"/> 167 168 </widget> 168 169 </child> … … 1037 1038 <property name="row_spacing">2</property> 1038 1039 <child> 1039 <widget class="GtkEntry" id="adv_search_ entry">1040 <widget class="GtkEntry" id="adv_search_package_entry"> 1040 1041 <property name="visible">True</property> 1041 1042 <property name="can_focus">True</property> … … 1044 1045 <property name="left_attach">1</property> 1045 1046 <property name="right_attach">2</property> 1046 <property name="top_attach">1</property>1047 <property name="bottom_attach">2</property>1048 </packing>1049 </child>1050 <child>1051 <widget class="GtkLabel" id="adv_search_package_label">1052 <property name="visible">True</property>1053 <property name="xalign">1</property>1054 <property name="label" translatable="yes">Package:</property>1055 </widget>1056 <packing>1057 <property name="top_attach">1</property>1058 <property name="bottom_attach">2</property>1059 1047 </packing> 1060 1048 </child> … … 1070 1058 </child> 1071 1059 <child> 1072 <widget class="GtkEntry" id="adv_search_package_entry"> 1060 <widget class="GtkLabel" id="adv_search_package_label"> 1061 <property name="visible">True</property> 1062 <property name="xalign">1</property> 1063 <property name="label" translatable="yes">Package:</property> 1064 </widget> 1065 <packing> 1066 <property name="top_attach">1</property> 1067 <property name="bottom_attach">2</property> 1068 </packing> 1069 </child> 1070 <child> 1071 <widget class="GtkEntry" id="adv_search_entry"> 1073 1072 <property name="visible">True</property> 1074 1073 <property name="can_focus">True</property> … … 1077 1076 <property name="left_attach">1</property> 1078 1077 <property name="right_attach">2</property> 1078 <property name="top_attach">1</property> 1079 <property name="bottom_attach">2</property> 1079 1080 </packing> 1080 1081 </child> … … 1160 1161 </child> 1161 1162 </widget> 1162 <widget class="GtkAboutDialog" id="aboutdialog 1">1163 <widget class="GtkAboutDialog" id="aboutdialog"> 1163 1164 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 1164 1165 <property name="border_width">5</property> … … 1167 1168 <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property> 1168 1169 <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> 1170 <property name="skip_taskbar_hint">True</property> 1169 1171 <property name="has_separator">False</property> 1170 <property name="name">Glade</property> 1171 <property name="website">http://conseil.fritalk.org/conseil</property> 1172 <property name="authors">Lionel Dricot</property> 1172 <property name="name">Conseil</property> 1173 <property name="version">0.1.99</property> 1174 <property name="copyright" translatable="yes">Spam, eggs, bacon, sausages and Spam</property> 1175 <property name="website">http://conseil.fritalk.com/conseil</property> 1176 <property name="authors">Lionel Dricot <ploum@ubuntu.com> 1177 Étienne Bersac <bersace@gnome.org></property> 1178 <signal name="response" handler="on_aboutdialog_response"/> 1173 1179 <child internal-child="vbox"> 1174 1180 <widget class="GtkVBox" id="dialog-vbox1"> … … 1180 1186 </child> 1181 1187 <child internal-child="action_area"> 1182 <widget class="GtkHButtonBox" id="dialog-action_area 1">1188 <widget class="GtkHButtonBox" id="dialog-action_area"> 1183 1189 <property name="visible">True</property> 1184 1190 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -
conseil.py
r56 r57 50 50 "on_import_activate" : self.import_bookmarks, 51 51 "on_open_activate" : self.open_bookmarks, 52 "on_a_propos_activate" : self.about_dialog, 53 "on_aboutdialog_response" : lambda x, y: x.hide(), 52 54 "on_bugs_notebook_switch_page" : self.switch_page, 53 55 "on_sidebar_display_activate" : self.show_sidebar, … … 273 275 self.retriever.display(dic) 274 276 277 def about_dialog(self,widget): 278 about_widget = self.full_glade.get_widget("aboutdialog") 279 about_widget.show() 275 280 276 281
