Merge lp:~meese/pantheon-photos/kill-menubar into lp:~pantheon-photos/pantheon-photos/trunk
- kill-menubar
- Merge into trunk
Proposed by
meese
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | meese | ||||
Approved revision: | 2613 | ||||
Merged at revision: | 2620 | ||||
Proposed branch: | lp:~meese/pantheon-photos/kill-menubar | ||||
Merge into: | lp:~pantheon-photos/pantheon-photos/trunk | ||||
Diff against target: |
520 lines (+63/-209) 15 files modified
src/AppWindow.vala (+21/-14) src/CollectionPage.vala (+0/-7) src/Page.vala (+0/-7) src/direct/DirectPhotoPage.vala (+2/-2) src/direct/DirectWindow.vala (+11/-1) src/library/LibraryWindow.vala (+29/-13) ui/direct.ui (+0/-17) ui/event.ui (+0/-4) ui/events_directory.ui (+0/-19) ui/import.ui (+0/-21) ui/import_queue.ui (+0/-22) ui/media.ui (+0/-21) ui/offline.ui (+0/-23) ui/photo.ui (+0/-19) ui/trash.ui (+0/-19) |
||||
To merge this branch: | bzr merge lp:~meese/pantheon-photos/kill-menubar | ||||
Related bugs: |
|
||||
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Viko Adi Rahmawan (community) | code | Approve | |
Danielle Foré | ux | Approve | |
Photos Devs | Pending | ||
Review via email: mp+233107@code.launchpad.net |
Commit message
kills menu bar
Description of the change
Kills the menu bar with nonviolent action. Also I put undo and redo up in the header bar because the gear icon looked lonely by itself.
To post a comment you must log in.
Revision history for this message
Danielle Foré (danrabbit) wrote : | # |
Revision history for this message
meese (meese) wrote : | # |
Done! (and I spent 20 minutes trying to figure out why the menu separator was deciding not to show up... of course menu.show_all () needed to be called, there will be no love for GTK)
Revision history for this message
Viko Adi Rahmawan (vikoadi) wrote : | # |
as we've move about menuitem to the quicklist, should we remove it too from the gear button?
Revision history for this message
Danielle Foré (danrabbit) wrote : | # |
Yes we should remove it from the gear button
Revision history for this message
meese (meese) wrote : | # |
fixed
Revision history for this message
Danielle Foré (danrabbit) wrote : | # |
I'm good with this :)
review:
Approve
(ux)
Revision history for this message
Viko Adi Rahmawan (vikoadi) wrote : | # |
for me, the code is good
review:
Approve
(code)
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'src/AppWindow.vala' | |||
2 | --- src/AppWindow.vala 2014-08-08 21:13:09 +0000 | |||
3 | +++ src/AppWindow.vala 2014-09-05 23:00:47 +0000 | |||
4 | @@ -434,6 +434,7 @@ | |||
5 | 434 | protected Dimensions dimensions; | 434 | protected Dimensions dimensions; |
6 | 435 | protected int pos_x = 0; | 435 | protected int pos_x = 0; |
7 | 436 | protected int pos_y = 0; | 436 | protected int pos_y = 0; |
8 | 437 | protected Gtk.HeaderBar header; | ||
9 | 437 | 438 | ||
10 | 438 | private Gtk.ActionGroup common_action_group = new Gtk.ActionGroup ("AppWindowGlobalActionGroup"); | 439 | private Gtk.ActionGroup common_action_group = new Gtk.ActionGroup ("AppWindowGlobalActionGroup"); |
11 | 439 | 440 | ||
12 | @@ -442,10 +443,8 @@ | |||
13 | 442 | assert (instance == null); | 443 | assert (instance == null); |
14 | 443 | instance = this; | 444 | instance = this; |
15 | 444 | 445 | ||
17 | 445 | var header = new Gtk.HeaderBar (); | 446 | header = new Gtk.HeaderBar (); |
18 | 446 | header.set_show_close_button (true); | 447 | header.set_show_close_button (true); |
19 | 447 | header.get_style_context ().remove_class ("header-bar"); | ||
20 | 448 | |||
21 | 449 | this.set_titlebar (header); | 448 | this.set_titlebar (header); |
22 | 450 | 449 | ||
23 | 451 | title = _ (Resources.APP_TITLE); | 450 | title = _ (Resources.APP_TITLE); |
24 | @@ -489,6 +488,20 @@ | |||
25 | 489 | 488 | ||
26 | 490 | ui.ensure_update (); | 489 | ui.ensure_update (); |
27 | 491 | add_accel_group (ui.get_accel_group ()); | 490 | add_accel_group (ui.get_accel_group ()); |
28 | 491 | |||
29 | 492 | build_header_bar (); | ||
30 | 493 | } | ||
31 | 494 | |||
32 | 495 | protected virtual void build_header_bar () { | ||
33 | 496 | var undo_action = get_common_action ("CommonUndo"); | ||
34 | 497 | var undo_btn = undo_action.create_tool_item (); | ||
35 | 498 | undo_btn.sensitive = true; | ||
36 | 499 | header.pack_start (undo_btn); | ||
37 | 500 | |||
38 | 501 | var redo_action = get_common_action ("CommonRedo"); | ||
39 | 502 | var redo_btn = redo_action.create_tool_item (); | ||
40 | 503 | redo_btn.sensitive = true; | ||
41 | 504 | header.pack_start (redo_btn); | ||
42 | 492 | } | 505 | } |
43 | 493 | 506 | ||
44 | 494 | private Gtk.ActionEntry[] create_common_actions () { | 507 | private Gtk.ActionEntry[] create_common_actions () { |
45 | @@ -500,25 +513,19 @@ | |||
46 | 500 | quit.label = _ ("_Quit"); | 513 | quit.label = _ ("_Quit"); |
47 | 501 | actions += quit; | 514 | actions += quit; |
48 | 502 | 515 | ||
49 | 503 | Gtk.ActionEntry about = { "CommonAbout", Gtk.Stock.ABOUT, TRANSLATABLE, null, | ||
50 | 504 | TRANSLATABLE, on_about | ||
51 | 505 | }; | ||
52 | 506 | about.label = _ ("_About"); | ||
53 | 507 | actions += about; | ||
54 | 508 | |||
55 | 509 | Gtk.ActionEntry fullscreen = { "CommonFullscreen", Gtk.Stock.FULLSCREEN, | 516 | Gtk.ActionEntry fullscreen = { "CommonFullscreen", Gtk.Stock.FULLSCREEN, |
56 | 510 | TRANSLATABLE, "F11", TRANSLATABLE, on_fullscreen | 517 | TRANSLATABLE, "F11", TRANSLATABLE, on_fullscreen |
57 | 511 | }; | 518 | }; |
58 | 512 | fullscreen.label = _ ("Fulls_creen"); | 519 | fullscreen.label = _ ("Fulls_creen"); |
59 | 513 | actions += fullscreen; | 520 | actions += fullscreen; |
60 | 514 | 521 | ||
62 | 515 | Gtk.ActionEntry undo = { "CommonUndo", Gtk.Stock.UNDO, TRANSLATABLE, "<Ctrl>Z", | 522 | Gtk.ActionEntry undo = { "CommonUndo", "edit-undo", TRANSLATABLE, "<Ctrl>Z", |
63 | 516 | TRANSLATABLE, on_undo | 523 | TRANSLATABLE, on_undo |
64 | 517 | }; | 524 | }; |
65 | 518 | undo.label = Resources.UNDO_MENU; | 525 | undo.label = Resources.UNDO_MENU; |
66 | 519 | actions += undo; | 526 | actions += undo; |
67 | 520 | 527 | ||
69 | 521 | Gtk.ActionEntry redo = { "CommonRedo", Gtk.Stock.REDO, TRANSLATABLE, "<Ctrl><Shift>Z", | 528 | Gtk.ActionEntry redo = { "CommonRedo", "edit-redo", TRANSLATABLE, "<Ctrl><Shift>Z", |
70 | 522 | TRANSLATABLE, on_redo | 529 | TRANSLATABLE, on_redo |
71 | 523 | }; | 530 | }; |
72 | 524 | redo.label = Resources.REDO_MENU; | 531 | redo.label = Resources.REDO_MENU; |
73 | @@ -870,7 +877,7 @@ | |||
74 | 870 | 877 | ||
75 | 871 | if (desc != null) { | 878 | if (desc != null) { |
76 | 872 | action.label = "%s %s".printf (prefix, desc.get_name ()); | 879 | action.label = "%s %s".printf (prefix, desc.get_name ()); |
78 | 873 | action.tooltip = desc.get_explanation (); | 880 | action.tooltip = action.label; |
79 | 874 | action.sensitive = true; | 881 | action.sensitive = true; |
80 | 875 | } else { | 882 | } else { |
81 | 876 | action.label = prefix; | 883 | action.label = prefix; |
82 | @@ -880,12 +887,12 @@ | |||
83 | 880 | } | 887 | } |
84 | 881 | 888 | ||
85 | 882 | public void decorate_undo_action () { | 889 | public void decorate_undo_action () { |
87 | 883 | decorate_command_manager_action ("CommonUndo", Resources.UNDO_MENU, "", | 890 | decorate_command_manager_action ("CommonUndo", Resources.UNDO_LABEL, "", |
88 | 884 | get_command_manager ().get_undo_description ()); | 891 | get_command_manager ().get_undo_description ()); |
89 | 885 | } | 892 | } |
90 | 886 | 893 | ||
91 | 887 | public void decorate_redo_action () { | 894 | public void decorate_redo_action () { |
93 | 888 | decorate_command_manager_action ("CommonRedo", Resources.REDO_MENU, "", | 895 | decorate_command_manager_action ("CommonRedo", Resources.REDO_LABEL, "", |
94 | 889 | get_command_manager ().get_redo_description ()); | 896 | get_command_manager ().get_redo_description ()); |
95 | 890 | } | 897 | } |
96 | 891 | 898 | ||
97 | 892 | 899 | ||
98 | === modified file 'src/CollectionPage.vala' | |||
99 | --- src/CollectionPage.vala 2014-08-28 14:41:02 +0000 | |||
100 | +++ src/CollectionPage.vala 2014-09-05 23:00:47 +0000 | |||
101 | @@ -85,12 +85,6 @@ | |||
102 | 85 | return toolbar; | 85 | return toolbar; |
103 | 86 | } | 86 | } |
104 | 87 | 87 | ||
105 | 88 | private static InjectionGroup create_file_menu_injectables () { | ||
106 | 89 | InjectionGroup group = new InjectionGroup ("/MenuBar/FileMenu/FileExtrasPlaceholder"); | ||
107 | 90 | |||
108 | 91 | return group; | ||
109 | 92 | } | ||
110 | 93 | |||
111 | 94 | private static InjectionGroup create_context_menu_injectables () { | 88 | private static InjectionGroup create_context_menu_injectables () { |
112 | 95 | InjectionGroup group = new InjectionGroup ("/CollectionContextMenu/EditExtrasPlaceholder"); | 89 | InjectionGroup group = new InjectionGroup ("/CollectionContextMenu/EditExtrasPlaceholder"); |
113 | 96 | 90 | ||
114 | @@ -218,7 +212,6 @@ | |||
115 | 218 | protected override InjectionGroup[] init_collect_injection_groups () { | 212 | protected override InjectionGroup[] init_collect_injection_groups () { |
116 | 219 | InjectionGroup[] groups = base.init_collect_injection_groups (); | 213 | InjectionGroup[] groups = base.init_collect_injection_groups (); |
117 | 220 | 214 | ||
118 | 221 | groups += create_file_menu_injectables (); | ||
119 | 222 | groups += create_context_menu_injectables (); | 215 | groups += create_context_menu_injectables (); |
120 | 223 | groups += create_view_menu_fullscreen_injectables (); | 216 | groups += create_view_menu_fullscreen_injectables (); |
121 | 224 | 217 | ||
122 | 225 | 218 | ||
123 | === modified file 'src/Page.vala' | |||
124 | --- src/Page.vala 2014-08-27 23:59:02 +0000 | |||
125 | +++ src/Page.vala 2014-09-05 23:00:47 +0000 | |||
126 | @@ -264,13 +264,6 @@ | |||
127 | 264 | return event_source; | 264 | return event_source; |
128 | 265 | } | 265 | } |
129 | 266 | 266 | ||
130 | 267 | public virtual Gtk.MenuBar get_menubar () { | ||
131 | 268 | Gtk.MenuBar? menubar = ui.get_widget ("/MenuBar") as Gtk.MenuBar; | ||
132 | 269 | assert (menubar != null); | ||
133 | 270 | |||
134 | 271 | return menubar; | ||
135 | 272 | } | ||
136 | 273 | |||
137 | 274 | public virtual unowned Gtk.Widget get_page_ui_widget (string path) { | 267 | public virtual unowned Gtk.Widget get_page_ui_widget (string path) { |
138 | 275 | return ui.get_widget (path); | 268 | return ui.get_widget (path); |
139 | 276 | } | 269 | } |
140 | 277 | 270 | ||
141 | === modified file 'src/direct/DirectPhotoPage.vala' | |||
142 | --- src/direct/DirectPhotoPage.vala 2014-08-25 06:04:50 +0000 | |||
143 | +++ src/direct/DirectPhotoPage.vala 2014-09-05 23:00:47 +0000 | |||
144 | @@ -47,14 +47,14 @@ | |||
145 | 47 | file.label = _ ("_File"); | 47 | file.label = _ ("_File"); |
146 | 48 | actions += file; | 48 | actions += file; |
147 | 49 | 49 | ||
149 | 50 | Gtk.ActionEntry save = { "Save", Gtk.Stock.SAVE, TRANSLATABLE, "<Ctrl>S", TRANSLATABLE, | 50 | Gtk.ActionEntry save = { "Save", "document-save", TRANSLATABLE, "<Ctrl>S", TRANSLATABLE, |
150 | 51 | on_save | 51 | on_save |
151 | 52 | }; | 52 | }; |
152 | 53 | save.label = _ ("_Save"); | 53 | save.label = _ ("_Save"); |
153 | 54 | save.tooltip = _ ("Save photo"); | 54 | save.tooltip = _ ("Save photo"); |
154 | 55 | actions += save; | 55 | actions += save; |
155 | 56 | 56 | ||
157 | 57 | Gtk.ActionEntry save_as = { "SaveAs", Gtk.Stock.SAVE_AS, TRANSLATABLE, | 57 | Gtk.ActionEntry save_as = { "SaveAs", "document-save-as", TRANSLATABLE, |
158 | 58 | "<Ctrl><Shift>S", TRANSLATABLE, on_save_as | 58 | "<Ctrl><Shift>S", TRANSLATABLE, on_save_as |
159 | 59 | }; | 59 | }; |
160 | 60 | save_as.label = _ ("Save _As..."); | 60 | save_as.label = _ ("Save _As..."); |
161 | 61 | 61 | ||
162 | === modified file 'src/direct/DirectWindow.vala' | |||
163 | --- src/direct/DirectWindow.vala 2014-08-08 21:13:09 +0000 | |||
164 | +++ src/direct/DirectWindow.vala 2014-09-05 23:00:47 +0000 | |||
165 | @@ -21,11 +21,21 @@ | |||
166 | 21 | // simple layout: menu on top, photo in center, toolbar along bottom (mimicking the | 21 | // simple layout: menu on top, photo in center, toolbar along bottom (mimicking the |
167 | 22 | // PhotoPage in the library, but without the sidebar) | 22 | // PhotoPage in the library, but without the sidebar) |
168 | 23 | Gtk.Box layout = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); | 23 | Gtk.Box layout = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); |
169 | 24 | layout.pack_start (direct_photo_page.get_menubar (), false, false, 0); | ||
170 | 25 | layout.pack_start (direct_photo_page, true, true, 0); | 24 | layout.pack_start (direct_photo_page, true, true, 0); |
171 | 26 | layout.pack_end (direct_photo_page.get_toolbar (), false, false, 0); | 25 | layout.pack_end (direct_photo_page.get_toolbar (), false, false, 0); |
172 | 27 | 26 | ||
173 | 28 | add (layout); | 27 | add (layout); |
174 | 28 | header.pack_start (new Gtk.Separator (Gtk.Orientation.VERTICAL)); | ||
175 | 29 | |||
176 | 30 | var save_action = get_direct_page ().get_action ("Save"); | ||
177 | 31 | var save_btn = save_action.create_tool_item (); | ||
178 | 32 | save_btn.sensitive = true; | ||
179 | 33 | header.pack_start (save_btn); | ||
180 | 34 | |||
181 | 35 | var save_as_action = get_direct_page ().get_action ("SaveAs"); | ||
182 | 36 | var save_as_btn = save_as_action.create_tool_item (); | ||
183 | 37 | save_as_btn.sensitive = true; | ||
184 | 38 | header.pack_start (save_as_btn); | ||
185 | 29 | } | 39 | } |
186 | 30 | 40 | ||
187 | 31 | public static DirectWindow get_app () { | 41 | public static DirectWindow get_app () { |
188 | 32 | 42 | ||
189 | === modified file 'src/library/LibraryWindow.vala' | |||
190 | --- src/library/LibraryWindow.vala 2014-08-28 06:02:48 +0000 | |||
191 | +++ src/library/LibraryWindow.vala 2014-09-05 23:00:47 +0000 | |||
192 | @@ -187,13 +187,6 @@ | |||
193 | 187 | error (e.message); | 187 | error (e.message); |
194 | 188 | } | 188 | } |
195 | 189 | 189 | ||
196 | 190 | Gtk.MenuBar? menubar = ui.get_widget ("/MenuBar") as Gtk.MenuBar; | ||
197 | 191 | layout.add (menubar); | ||
198 | 192 | |||
199 | 193 | // We never want to invoke show_all () on the menubar since that will show empty menus, | ||
200 | 194 | // which should be hidden. | ||
201 | 195 | menubar.no_show_all = true; | ||
202 | 196 | |||
203 | 197 | // create the main layout & start at the Library page | 190 | // create the main layout & start at the Library page |
204 | 198 | create_layout (library_branch.photos_entry.get_page ()); | 191 | create_layout (library_branch.photos_entry.get_page ()); |
205 | 199 | 192 | ||
206 | @@ -229,6 +222,29 @@ | |||
207 | 229 | 222 | ||
208 | 230 | background_progress_bar.set_show_text (true); | 223 | background_progress_bar.set_show_text (true); |
209 | 231 | 224 | ||
210 | 225 | build_settings_header (); | ||
211 | 226 | } | ||
212 | 227 | |||
213 | 228 | protected void build_settings_header () { | ||
214 | 229 | var settings_menu = new Gtk.Menu (); | ||
215 | 230 | |||
216 | 231 | var import_action = get_common_action ("CommonFileImport"); | ||
217 | 232 | settings_menu.add (import_action.create_menu_item ()); | ||
218 | 233 | |||
219 | 234 | var sep = new Gtk.SeparatorMenuItem (); | ||
220 | 235 | settings_menu.add (sep); | ||
221 | 236 | |||
222 | 237 | var pref_action = get_common_action ("CommonPreferences"); | ||
223 | 238 | settings_menu.add (pref_action.create_menu_item ()); | ||
224 | 239 | |||
225 | 240 | settings_menu.show_all (); | ||
226 | 241 | |||
227 | 242 | var settings = new Gtk.MenuButton (); | ||
228 | 243 | settings.image = new Gtk.Image.from_icon_name ("document-properties", Gtk.IconSize.LARGE_TOOLBAR); | ||
229 | 244 | settings.set_tooltip_text (_ ("Settings")); | ||
230 | 245 | settings.popup = settings_menu; | ||
231 | 246 | settings.show_all (); | ||
232 | 247 | header.pack_end (settings); | ||
233 | 232 | } | 248 | } |
234 | 233 | 249 | ||
235 | 234 | ~LibraryWindow () { | 250 | ~LibraryWindow () { |
236 | @@ -374,11 +390,11 @@ | |||
237 | 374 | }; | 390 | }; |
238 | 375 | sidebar.label = _ ("S_idebar"); | 391 | sidebar.label = _ ("S_idebar"); |
239 | 376 | sidebar.tooltip = _ ("Display the sidebar"); | 392 | sidebar.tooltip = _ ("Display the sidebar"); |
241 | 377 | actions += sidebar; | 393 | actions += sidebar; |
242 | 378 | 394 | ||
243 | 379 | Gtk.ToggleActionEntry meta_sidebar = { "CommonDisplayMetadataSidebar", null, TRANSLATABLE, | 395 | Gtk.ToggleActionEntry meta_sidebar = { "CommonDisplayMetadataSidebar", null, TRANSLATABLE, |
246 | 380 | "F10", TRANSLATABLE, on_display_metadata_sidebar, is_metadata_sidebar_visible () | 396 | "F10", TRANSLATABLE, on_display_metadata_sidebar, is_metadata_sidebar_visible () |
247 | 381 | }; | 397 | }; |
248 | 382 | meta_sidebar.label = _ ("Edit Photo In_fo"); | 398 | meta_sidebar.label = _ ("Edit Photo In_fo"); |
249 | 383 | actions += meta_sidebar; | 399 | actions += meta_sidebar; |
250 | 384 | 400 | ||
251 | @@ -788,7 +804,7 @@ | |||
252 | 788 | private void on_display_sidebar (Gtk.Action action) { | 804 | private void on_display_sidebar (Gtk.Action action) { |
253 | 789 | set_sidebar_visible (((Gtk.ToggleAction) action).get_active ()); | 805 | set_sidebar_visible (((Gtk.ToggleAction) action).get_active ()); |
254 | 790 | 806 | ||
256 | 791 | } | 807 | } |
257 | 792 | 808 | ||
258 | 793 | private void on_display_metadata_sidebar (Gtk.Action action) { | 809 | private void on_display_metadata_sidebar (Gtk.Action action) { |
259 | 794 | set_metadata_sidebar_visible (((Gtk.ToggleAction) action).get_active ()); | 810 | set_metadata_sidebar_visible (((Gtk.ToggleAction) action).get_active ()); |
260 | @@ -1245,7 +1261,7 @@ | |||
261 | 1245 | client_paned.pack2 (right_frame, true, false); | 1261 | client_paned.pack2 (right_frame, true, false); |
262 | 1246 | client_paned.set_position (Config.Facade.get_instance ().get_sidebar_position ()); | 1262 | client_paned.set_position (Config.Facade.get_instance ().get_sidebar_position ()); |
263 | 1247 | 1263 | ||
265 | 1248 | int metadata_sidebar_pos = Config.Facade.get_instance ().get_metadata_sidebar_position (); | 1264 | int metadata_sidebar_pos = Config.Facade.get_instance ().get_metadata_sidebar_position (); |
266 | 1249 | if (metadata_sidebar_pos > 0) | 1265 | if (metadata_sidebar_pos > 0) |
267 | 1250 | right_client_paned.set_position (metadata_sidebar_pos); | 1266 | right_client_paned.set_position (metadata_sidebar_pos); |
268 | 1251 | 1267 | ||
269 | @@ -1523,4 +1539,4 @@ | |||
270 | 1523 | 1539 | ||
271 | 1524 | return false; | 1540 | return false; |
272 | 1525 | } | 1541 | } |
274 | 1526 | } | 1542 | } |
275 | 1527 | \ No newline at end of file | 1543 | \ No newline at end of file |
276 | 1528 | 1544 | ||
277 | === modified file 'ui/direct.ui' | |||
278 | --- ui/direct.ui 2014-08-25 06:55:28 +0000 | |||
279 | +++ ui/direct.ui 2014-09-05 23:00:47 +0000 | |||
280 | @@ -1,21 +1,4 @@ | |||
281 | 1 | <ui> | 1 | <ui> |
282 | 2 | |||
283 | 3 | <menubar name="MenuBar"> | ||
284 | 4 | <menu name="FileMenu" action="FileMenu"> | ||
285 | 5 | <menuitem name="Save" action="Save" /> | ||
286 | 6 | <menuitem name="SaveAs" action="SaveAs" /> | ||
287 | 7 | </menu> | ||
288 | 8 | |||
289 | 9 | <menu name="EditMenu" action="EditMenu"> | ||
290 | 10 | <menuitem name="Undo" action="CommonUndo" /> | ||
291 | 11 | <menuitem name="Redo" action="CommonRedo" /> | ||
292 | 12 | </menu> | ||
293 | 13 | |||
294 | 14 | <menu name="HelpMenu" action="HelpMenu"> | ||
295 | 15 | <menuitem name="About" action="CommonAbout" /> | ||
296 | 16 | </menu> | ||
297 | 17 | </menubar> | ||
298 | 18 | |||
299 | 19 | <popup name="DirectContextMenu"> | 2 | <popup name="DirectContextMenu"> |
300 | 20 | <placeholder name="ContextJumpPlaceholder"> | 3 | <placeholder name="ContextJumpPlaceholder"> |
301 | 21 | <menuitem name="ContextJumpToFile" action="CommonJumpToFile" /> | 4 | <menuitem name="ContextJumpToFile" action="CommonJumpToFile" /> |
302 | 22 | 5 | ||
303 | === modified file 'ui/event.ui' | |||
304 | --- ui/event.ui 2014-08-25 06:55:28 +0000 | |||
305 | +++ ui/event.ui 2014-09-05 23:00:47 +0000 | |||
306 | @@ -1,8 +1,4 @@ | |||
307 | 1 | <ui> | 1 | <ui> |
308 | 2 | |||
309 | 3 | <menubar name="MenuBar"> | ||
310 | 4 | </menubar> | ||
311 | 5 | |||
312 | 6 | <popup name="CollectionContextMenu"> | 2 | <popup name="CollectionContextMenu"> |
313 | 7 | <separator /> | 3 | <separator /> |
314 | 8 | <menuitem name="ContextMakePrimary" action="MakePrimary" /> | 4 | <menuitem name="ContextMakePrimary" action="MakePrimary" /> |
315 | 9 | 5 | ||
316 | === modified file 'ui/events_directory.ui' | |||
317 | --- ui/events_directory.ui 2014-08-27 12:43:58 +0000 | |||
318 | +++ ui/events_directory.ui 2014-09-05 23:00:47 +0000 | |||
319 | @@ -1,23 +1,4 @@ | |||
320 | 1 | <ui> | 1 | <ui> |
321 | 2 | |||
322 | 3 | <menubar name="MenuBar"> | ||
323 | 4 | <menu name="FileMenu" action="FileMenu"> | ||
324 | 5 | <menuitem name="Import" action="CommonFileImport" /> | ||
325 | 6 | <menuitem name="ImportExternal" action="ExternalLibraryImport" /> | ||
326 | 7 | </menu> | ||
327 | 8 | |||
328 | 9 | <menu name="EditMenu" action="EditMenu"> | ||
329 | 10 | <menuitem name="Undo" action="CommonUndo" /> | ||
330 | 11 | <menuitem name="Redo" action="CommonRedo" /> | ||
331 | 12 | <separator /> | ||
332 | 13 | <menuitem name="Preferences" action="CommonPreferences" /> | ||
333 | 14 | </menu> | ||
334 | 15 | |||
335 | 16 | <menu name="HelpMenu" action="HelpMenu"> | ||
336 | 17 | <menuitem name="About" action="CommonAbout" /> | ||
337 | 18 | </menu> | ||
338 | 19 | </menubar> | ||
339 | 20 | |||
340 | 21 | <popup name="EventsDirectoryContextMenu"> | 2 | <popup name="EventsDirectoryContextMenu"> |
341 | 22 | <menuitem name="ContextMerge" action="Merge" /> | 3 | <menuitem name="ContextMerge" action="Merge" /> |
342 | 23 | <menuitem name="ContextRename" action="Rename" /> | 4 | <menuitem name="ContextRename" action="Rename" /> |
343 | 24 | 5 | ||
344 | === modified file 'ui/import.ui' | |||
345 | --- ui/import.ui 2014-08-27 12:43:58 +0000 | |||
346 | +++ ui/import.ui 2014-09-05 23:00:47 +0000 | |||
347 | @@ -1,25 +1,4 @@ | |||
348 | 1 | <ui> | 1 | <ui> |
349 | 2 | |||
350 | 3 | <menubar name="MenuBar"> | ||
351 | 4 | <menu name="FileMenu" action="FileMenu"> | ||
352 | 5 | <menuitem name="Import" action="CommonFileImport" /> | ||
353 | 6 | <menuitem name="ImportSelected" action="ImportSelected" /> | ||
354 | 7 | <menuitem name="ImportAll" action="ImportAll" /> | ||
355 | 8 | <menuitem name="ImportExternal" action="ExternalLibraryImport" /> | ||
356 | 9 | </menu> | ||
357 | 10 | |||
358 | 11 | <menu name="EditMenu" action="EditMenu"> | ||
359 | 12 | <menuitem name="Undo" action="CommonUndo" /> | ||
360 | 13 | <menuitem name="Redo" action="CommonRedo" /> | ||
361 | 14 | <separator /> | ||
362 | 15 | <menuitem name="Preferences" action="CommonPreferences" /> | ||
363 | 16 | </menu> | ||
364 | 17 | |||
365 | 18 | <menu name="HelpMenu" action="HelpMenu"> | ||
366 | 19 | <menuitem name="About" action="CommonAbout" /> | ||
367 | 20 | </menu> | ||
368 | 21 | </menubar> | ||
369 | 22 | |||
370 | 23 | <popup name="ImportContextMenu"> | 2 | <popup name="ImportContextMenu"> |
371 | 24 | <menuitem name="ContextImportSelected" action="ImportSelected" /> | 3 | <menuitem name="ContextImportSelected" action="ImportSelected" /> |
372 | 25 | <menuitem name="ContextImportAll" action="ImportAll" /> | 4 | <menuitem name="ContextImportAll" action="ImportAll" /> |
373 | 26 | 5 | ||
374 | === modified file 'ui/import_queue.ui' | |||
375 | --- ui/import_queue.ui 2014-08-27 12:43:58 +0000 | |||
376 | +++ ui/import_queue.ui 2014-09-05 23:00:47 +0000 | |||
377 | @@ -1,24 +1,2 @@ | |||
378 | 1 | <ui> | 1 | <ui> |
379 | 2 | |||
380 | 3 | <menubar name="MenuBar"> | ||
381 | 4 | <menu name="FileMenu" action="FileMenu"> | ||
382 | 5 | <menuitem name="Stop" action="Stop" /> | ||
383 | 6 | <separator /> | ||
384 | 7 | <menuitem name="Import" action="CommonFileImport" /> | ||
385 | 8 | <menuitem name="ImportExternal" action="ExternalLibraryImport" /> | ||
386 | 9 | <separator /> | ||
387 | 10 | </menu> | ||
388 | 11 | |||
389 | 12 | <menu name="ViewMenu" action="ViewMenu"> | ||
390 | 13 | <menu name="SortEvents" action="CommonSortEvents"> | ||
391 | 14 | <menuitem name="SortEventsAscending" action="CommonSortEventsAscending" /> | ||
392 | 15 | <menuitem name="SortEventsDescending" action="CommonSortEventsDescending" /> | ||
393 | 16 | </menu> | ||
394 | 17 | </menu> | ||
395 | 18 | |||
396 | 19 | <menu name="HelpMenu" action="HelpMenu"> | ||
397 | 20 | <menuitem name="About" action="CommonAbout" /> | ||
398 | 21 | </menu> | ||
399 | 22 | </menubar> | ||
400 | 23 | |||
401 | 24 | </ui> | 2 | </ui> |
402 | 25 | \ No newline at end of file | 3 | \ No newline at end of file |
403 | 26 | 4 | ||
404 | === modified file 'ui/media.ui' | |||
405 | --- ui/media.ui 2014-08-27 12:43:58 +0000 | |||
406 | +++ ui/media.ui 2014-09-05 23:00:47 +0000 | |||
407 | @@ -1,25 +1,4 @@ | |||
408 | 1 | <ui> | 1 | <ui> |
409 | 2 | |||
410 | 3 | <menubar name="MenuBar"> | ||
411 | 4 | <menu name="FileMenu" action="FileMenu"> | ||
412 | 5 | <menuitem name="Import" action="CommonFileImport" /> | ||
413 | 6 | <menuitem name="ImportExternal" action="ExternalLibraryImport" /> | ||
414 | 7 | </menu> | ||
415 | 8 | |||
416 | 9 | <menu name="EditMenu" action="EditMenu"> | ||
417 | 10 | <menuitem name="Undo" action="CommonUndo" /> | ||
418 | 11 | <menuitem name="Redo" action="CommonRedo" /> | ||
419 | 12 | <separator /> | ||
420 | 13 | <menuitem name="Preferences" action="CommonPreferences" /> | ||
421 | 14 | </menu> | ||
422 | 15 | |||
423 | 16 | <placeholder name="FacesMenuPlaceholder" /> | ||
424 | 17 | |||
425 | 18 | <menu name="HelpMenu" action="HelpMenu"> | ||
426 | 19 | <menuitem name="About" action="CommonAbout" /> | ||
427 | 20 | </menu> | ||
428 | 21 | </menubar> | ||
429 | 22 | |||
430 | 23 | <popup name="MediaViewMenu" action="ViewMenu"> | 2 | <popup name="MediaViewMenu" action="ViewMenu"> |
431 | 24 | <menuitem name="DisplaySidebar" action="CommonDisplaySidebar" /> | 3 | <menuitem name="DisplaySidebar" action="CommonDisplaySidebar" /> |
432 | 25 | <menuitem name="DisplayMetadataSidebar" action="CommonDisplayMetadataSidebar" /> | 4 | <menuitem name="DisplayMetadataSidebar" action="CommonDisplayMetadataSidebar" /> |
433 | 26 | 5 | ||
434 | === modified file 'ui/offline.ui' | |||
435 | --- ui/offline.ui 2014-08-27 12:43:58 +0000 | |||
436 | +++ ui/offline.ui 2014-09-05 23:00:47 +0000 | |||
437 | @@ -1,27 +1,4 @@ | |||
438 | 1 | <ui> | 1 | <ui> |
439 | 2 | |||
440 | 3 | <menubar name="MenuBar"> | ||
441 | 4 | <menu name="FileMenu" action="FileMenu"> | ||
442 | 5 | <menuitem name="Import" action="CommonFileImport" /> | ||
443 | 6 | <menuitem name="ImportExternal" action="ExternalLibraryImport" /> | ||
444 | 7 | <separator /> | ||
445 | 8 | <menuitem name="EmptyTrash" action="CommonEmptyTrash" /> | ||
446 | 9 | <separator /> | ||
447 | 10 | <menuitem name="Quit" action="CommonQuit" /> | ||
448 | 11 | </menu> | ||
449 | 12 | |||
450 | 13 | <menu name="EditMenu" action="EditMenu"> | ||
451 | 14 | <menuitem name="Undo" action="CommonUndo" /> | ||
452 | 15 | <menuitem name="Redo" action="CommonRedo" /> | ||
453 | 16 | <separator /> | ||
454 | 17 | <menuitem name="Preferences" action="CommonPreferences" /> | ||
455 | 18 | </menu> | ||
456 | 19 | |||
457 | 20 | <menu name="HelpMenu" action="HelpMenu"> | ||
458 | 21 | <menuitem name="About" action="CommonAbout" /> | ||
459 | 22 | </menu> | ||
460 | 23 | </menubar> | ||
461 | 24 | |||
462 | 25 | <popup name="OfflineContextMenu"> | 2 | <popup name="OfflineContextMenu"> |
463 | 26 | <menuitem name="RemoveFromLibrary" action="RemoveFromLibrary" /> | 3 | <menuitem name="RemoveFromLibrary" action="RemoveFromLibrary" /> |
464 | 27 | </popup> | 4 | </popup> |
465 | 28 | 5 | ||
466 | === modified file 'ui/photo.ui' | |||
467 | --- ui/photo.ui 2014-08-27 12:43:58 +0000 | |||
468 | +++ ui/photo.ui 2014-09-05 23:00:47 +0000 | |||
469 | @@ -1,23 +1,4 @@ | |||
470 | 1 | <ui> | 1 | <ui> |
471 | 2 | |||
472 | 3 | <menubar name="MenuBar"> | ||
473 | 4 | <menu name="FileMenu" action="FileMenu"> | ||
474 | 5 | <menuitem name="Import" action="CommonFileImport" /> | ||
475 | 6 | <menuitem name="ImportExternal" action="ExternalLibraryImport" /> | ||
476 | 7 | </menu> | ||
477 | 8 | |||
478 | 9 | <menu name="EditMenu" action="EditMenu"> | ||
479 | 10 | <menuitem name="Undo" action="CommonUndo" /> | ||
480 | 11 | <menuitem name="Redo" action="CommonRedo" /> | ||
481 | 12 | <separator /> | ||
482 | 13 | <menuitem name="Preferences" action="CommonPreferences" /> | ||
483 | 14 | </menu> | ||
484 | 15 | |||
485 | 16 | <menu name="HelpMenu" action="HelpMenu"> | ||
486 | 17 | <menuitem name="About" action="CommonAbout" /> | ||
487 | 18 | </menu> | ||
488 | 19 | </menubar> | ||
489 | 20 | |||
490 | 21 | <popup name="PhotoContextMenu"> | 2 | <popup name="PhotoContextMenu"> |
491 | 22 | <placeholder name="ContextJumpPlaceholder"> | 3 | <placeholder name="ContextJumpPlaceholder"> |
492 | 23 | <menuitem name="ContextJumpToEvent" action="CommonJumpToEvent" /> | 4 | <menuitem name="ContextJumpToEvent" action="CommonJumpToEvent" /> |
493 | 24 | 5 | ||
494 | === modified file 'ui/trash.ui' | |||
495 | --- ui/trash.ui 2014-08-28 02:19:38 +0000 | |||
496 | +++ ui/trash.ui 2014-09-05 23:00:47 +0000 | |||
497 | @@ -1,23 +1,4 @@ | |||
498 | 1 | <ui> | 1 | <ui> |
499 | 2 | |||
500 | 3 | <menubar name="MenuBar"> | ||
501 | 4 | <menu name="FileMenu" action="FileMenu"> | ||
502 | 5 | <menuitem name="Import" action="CommonFileImport" /> | ||
503 | 6 | <menuitem name="ImportExternal" action="ExternalLibraryImport" /> | ||
504 | 7 | </menu> | ||
505 | 8 | |||
506 | 9 | <menu name="EditMenu" action="EditMenu"> | ||
507 | 10 | <menuitem name="Undo" action="CommonUndo" /> | ||
508 | 11 | <menuitem name="Redo" action="CommonRedo" /> | ||
509 | 12 | <separator /> | ||
510 | 13 | <menuitem name="Preferences" action="CommonPreferences" /> | ||
511 | 14 | </menu> | ||
512 | 15 | |||
513 | 16 | <menu name="HelpMenu" action="HelpMenu"> | ||
514 | 17 | <menuitem name="About" action="CommonAbout" /> | ||
515 | 18 | </menu> | ||
516 | 19 | </menubar> | ||
517 | 20 | |||
518 | 21 | <popup name="TrashContextMenu"> | 2 | <popup name="TrashContextMenu"> |
519 | 22 | <menuitem name="ContextDelete" action="Delete" /> | 3 | <menuitem name="ContextDelete" action="Delete" /> |
520 | 23 | <menuitem name="ContextRestore" action="Restore" /> | 4 | <menuitem name="ContextRestore" action="Restore" /> |
peace and love, star child. Perhaps we use color icons for undo and redo instead of symbolic?