Merge lp:~meese/pantheon-photos/kill-menubar into lp:~pantheon-photos/pantheon-photos/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
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 :

peace and love, star child. Perhaps we use color icons for undo and redo instead of symbolic?

2611. By meese

change undo icons to non symbolic and fix menu separator not showing up

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)

2612. By meese

fix ui file

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

2613. By meese

remove about from gear menu

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
=== modified file 'src/AppWindow.vala'
--- src/AppWindow.vala 2014-08-08 21:13:09 +0000
+++ src/AppWindow.vala 2014-09-05 23:00:47 +0000
@@ -434,6 +434,7 @@
434 protected Dimensions dimensions;434 protected Dimensions dimensions;
435 protected int pos_x = 0;435 protected int pos_x = 0;
436 protected int pos_y = 0;436 protected int pos_y = 0;
437 protected Gtk.HeaderBar header;
437438
438 private Gtk.ActionGroup common_action_group = new Gtk.ActionGroup ("AppWindowGlobalActionGroup");439 private Gtk.ActionGroup common_action_group = new Gtk.ActionGroup ("AppWindowGlobalActionGroup");
439440
@@ -442,10 +443,8 @@
442 assert (instance == null);443 assert (instance == null);
443 instance = this;444 instance = this;
444445
445 var header = new Gtk.HeaderBar ();446 header = new Gtk.HeaderBar ();
446 header.set_show_close_button (true);447 header.set_show_close_button (true);
447 header.get_style_context ().remove_class ("header-bar");
448
449 this.set_titlebar (header);448 this.set_titlebar (header);
450449
451 title = _ (Resources.APP_TITLE);450 title = _ (Resources.APP_TITLE);
@@ -489,6 +488,20 @@
489488
490 ui.ensure_update ();489 ui.ensure_update ();
491 add_accel_group (ui.get_accel_group ());490 add_accel_group (ui.get_accel_group ());
491
492 build_header_bar ();
493 }
494
495 protected virtual void build_header_bar () {
496 var undo_action = get_common_action ("CommonUndo");
497 var undo_btn = undo_action.create_tool_item ();
498 undo_btn.sensitive = true;
499 header.pack_start (undo_btn);
500
501 var redo_action = get_common_action ("CommonRedo");
502 var redo_btn = redo_action.create_tool_item ();
503 redo_btn.sensitive = true;
504 header.pack_start (redo_btn);
492 }505 }
493506
494 private Gtk.ActionEntry[] create_common_actions () {507 private Gtk.ActionEntry[] create_common_actions () {
@@ -500,25 +513,19 @@
500 quit.label = _ ("_Quit");513 quit.label = _ ("_Quit");
501 actions += quit;514 actions += quit;
502515
503 Gtk.ActionEntry about = { "CommonAbout", Gtk.Stock.ABOUT, TRANSLATABLE, null,
504 TRANSLATABLE, on_about
505 };
506 about.label = _ ("_About");
507 actions += about;
508
509 Gtk.ActionEntry fullscreen = { "CommonFullscreen", Gtk.Stock.FULLSCREEN,516 Gtk.ActionEntry fullscreen = { "CommonFullscreen", Gtk.Stock.FULLSCREEN,
510 TRANSLATABLE, "F11", TRANSLATABLE, on_fullscreen517 TRANSLATABLE, "F11", TRANSLATABLE, on_fullscreen
511 };518 };
512 fullscreen.label = _ ("Fulls_creen");519 fullscreen.label = _ ("Fulls_creen");
513 actions += fullscreen;520 actions += fullscreen;
514521
515 Gtk.ActionEntry undo = { "CommonUndo", Gtk.Stock.UNDO, TRANSLATABLE, "<Ctrl>Z",522 Gtk.ActionEntry undo = { "CommonUndo", "edit-undo", TRANSLATABLE, "<Ctrl>Z",
516 TRANSLATABLE, on_undo523 TRANSLATABLE, on_undo
517 };524 };
518 undo.label = Resources.UNDO_MENU;525 undo.label = Resources.UNDO_MENU;
519 actions += undo;526 actions += undo;
520527
521 Gtk.ActionEntry redo = { "CommonRedo", Gtk.Stock.REDO, TRANSLATABLE, "<Ctrl><Shift>Z",528 Gtk.ActionEntry redo = { "CommonRedo", "edit-redo", TRANSLATABLE, "<Ctrl><Shift>Z",
522 TRANSLATABLE, on_redo529 TRANSLATABLE, on_redo
523 };530 };
524 redo.label = Resources.REDO_MENU;531 redo.label = Resources.REDO_MENU;
@@ -870,7 +877,7 @@
870877
871 if (desc != null) {878 if (desc != null) {
872 action.label = "%s %s".printf (prefix, desc.get_name ());879 action.label = "%s %s".printf (prefix, desc.get_name ());
873 action.tooltip = desc.get_explanation ();880 action.tooltip = action.label;
874 action.sensitive = true;881 action.sensitive = true;
875 } else {882 } else {
876 action.label = prefix;883 action.label = prefix;
@@ -880,12 +887,12 @@
880 }887 }
881888
882 public void decorate_undo_action () {889 public void decorate_undo_action () {
883 decorate_command_manager_action ("CommonUndo", Resources.UNDO_MENU, "",890 decorate_command_manager_action ("CommonUndo", Resources.UNDO_LABEL, "",
884 get_command_manager ().get_undo_description ());891 get_command_manager ().get_undo_description ());
885 }892 }
886893
887 public void decorate_redo_action () {894 public void decorate_redo_action () {
888 decorate_command_manager_action ("CommonRedo", Resources.REDO_MENU, "",895 decorate_command_manager_action ("CommonRedo", Resources.REDO_LABEL, "",
889 get_command_manager ().get_redo_description ());896 get_command_manager ().get_redo_description ());
890 }897 }
891898
892899
=== modified file 'src/CollectionPage.vala'
--- src/CollectionPage.vala 2014-08-28 14:41:02 +0000
+++ src/CollectionPage.vala 2014-09-05 23:00:47 +0000
@@ -85,12 +85,6 @@
85 return toolbar;85 return toolbar;
86 }86 }
8787
88 private static InjectionGroup create_file_menu_injectables () {
89 InjectionGroup group = new InjectionGroup ("/MenuBar/FileMenu/FileExtrasPlaceholder");
90
91 return group;
92 }
93
94 private static InjectionGroup create_context_menu_injectables () {88 private static InjectionGroup create_context_menu_injectables () {
95 InjectionGroup group = new InjectionGroup ("/CollectionContextMenu/EditExtrasPlaceholder");89 InjectionGroup group = new InjectionGroup ("/CollectionContextMenu/EditExtrasPlaceholder");
9690
@@ -218,7 +212,6 @@
218 protected override InjectionGroup[] init_collect_injection_groups () {212 protected override InjectionGroup[] init_collect_injection_groups () {
219 InjectionGroup[] groups = base.init_collect_injection_groups ();213 InjectionGroup[] groups = base.init_collect_injection_groups ();
220214
221 groups += create_file_menu_injectables ();
222 groups += create_context_menu_injectables ();215 groups += create_context_menu_injectables ();
223 groups += create_view_menu_fullscreen_injectables ();216 groups += create_view_menu_fullscreen_injectables ();
224217
225218
=== modified file 'src/Page.vala'
--- src/Page.vala 2014-08-27 23:59:02 +0000
+++ src/Page.vala 2014-09-05 23:00:47 +0000
@@ -264,13 +264,6 @@
264 return event_source;264 return event_source;
265 }265 }
266266
267 public virtual Gtk.MenuBar get_menubar () {
268 Gtk.MenuBar? menubar = ui.get_widget ("/MenuBar") as Gtk.MenuBar;
269 assert (menubar != null);
270
271 return menubar;
272 }
273
274 public virtual unowned Gtk.Widget get_page_ui_widget (string path) {267 public virtual unowned Gtk.Widget get_page_ui_widget (string path) {
275 return ui.get_widget (path);268 return ui.get_widget (path);
276 }269 }
277270
=== modified file 'src/direct/DirectPhotoPage.vala'
--- src/direct/DirectPhotoPage.vala 2014-08-25 06:04:50 +0000
+++ src/direct/DirectPhotoPage.vala 2014-09-05 23:00:47 +0000
@@ -47,14 +47,14 @@
47 file.label = _ ("_File");47 file.label = _ ("_File");
48 actions += file;48 actions += file;
4949
50 Gtk.ActionEntry save = { "Save", Gtk.Stock.SAVE, TRANSLATABLE, "<Ctrl>S", TRANSLATABLE,50 Gtk.ActionEntry save = { "Save", "document-save", TRANSLATABLE, "<Ctrl>S", TRANSLATABLE,
51 on_save51 on_save
52 };52 };
53 save.label = _ ("_Save");53 save.label = _ ("_Save");
54 save.tooltip = _ ("Save photo");54 save.tooltip = _ ("Save photo");
55 actions += save;55 actions += save;
5656
57 Gtk.ActionEntry save_as = { "SaveAs", Gtk.Stock.SAVE_AS, TRANSLATABLE,57 Gtk.ActionEntry save_as = { "SaveAs", "document-save-as", TRANSLATABLE,
58 "<Ctrl><Shift>S", TRANSLATABLE, on_save_as58 "<Ctrl><Shift>S", TRANSLATABLE, on_save_as
59 };59 };
60 save_as.label = _ ("Save _As...");60 save_as.label = _ ("Save _As...");
6161
=== modified file 'src/direct/DirectWindow.vala'
--- src/direct/DirectWindow.vala 2014-08-08 21:13:09 +0000
+++ src/direct/DirectWindow.vala 2014-09-05 23:00:47 +0000
@@ -21,11 +21,21 @@
21 // simple layout: menu on top, photo in center, toolbar along bottom (mimicking the21 // simple layout: menu on top, photo in center, toolbar along bottom (mimicking the
22 // PhotoPage in the library, but without the sidebar)22 // PhotoPage in the library, but without the sidebar)
23 Gtk.Box layout = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);23 Gtk.Box layout = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
24 layout.pack_start (direct_photo_page.get_menubar (), false, false, 0);
25 layout.pack_start (direct_photo_page, true, true, 0);24 layout.pack_start (direct_photo_page, true, true, 0);
26 layout.pack_end (direct_photo_page.get_toolbar (), false, false, 0);25 layout.pack_end (direct_photo_page.get_toolbar (), false, false, 0);
2726
28 add (layout);27 add (layout);
28 header.pack_start (new Gtk.Separator (Gtk.Orientation.VERTICAL));
29
30 var save_action = get_direct_page ().get_action ("Save");
31 var save_btn = save_action.create_tool_item ();
32 save_btn.sensitive = true;
33 header.pack_start (save_btn);
34
35 var save_as_action = get_direct_page ().get_action ("SaveAs");
36 var save_as_btn = save_as_action.create_tool_item ();
37 save_as_btn.sensitive = true;
38 header.pack_start (save_as_btn);
29 }39 }
3040
31 public static DirectWindow get_app () {41 public static DirectWindow get_app () {
3242
=== modified file 'src/library/LibraryWindow.vala'
--- src/library/LibraryWindow.vala 2014-08-28 06:02:48 +0000
+++ src/library/LibraryWindow.vala 2014-09-05 23:00:47 +0000
@@ -187,13 +187,6 @@
187 error (e.message);187 error (e.message);
188 }188 }
189189
190 Gtk.MenuBar? menubar = ui.get_widget ("/MenuBar") as Gtk.MenuBar;
191 layout.add (menubar);
192
193 // We never want to invoke show_all () on the menubar since that will show empty menus,
194 // which should be hidden.
195 menubar.no_show_all = true;
196
197 // create the main layout & start at the Library page190 // create the main layout & start at the Library page
198 create_layout (library_branch.photos_entry.get_page ());191 create_layout (library_branch.photos_entry.get_page ());
199192
@@ -229,6 +222,29 @@
229222
230 background_progress_bar.set_show_text (true);223 background_progress_bar.set_show_text (true);
231224
225 build_settings_header ();
226 }
227
228 protected void build_settings_header () {
229 var settings_menu = new Gtk.Menu ();
230
231 var import_action = get_common_action ("CommonFileImport");
232 settings_menu.add (import_action.create_menu_item ());
233
234 var sep = new Gtk.SeparatorMenuItem ();
235 settings_menu.add (sep);
236
237 var pref_action = get_common_action ("CommonPreferences");
238 settings_menu.add (pref_action.create_menu_item ());
239
240 settings_menu.show_all ();
241
242 var settings = new Gtk.MenuButton ();
243 settings.image = new Gtk.Image.from_icon_name ("document-properties", Gtk.IconSize.LARGE_TOOLBAR);
244 settings.set_tooltip_text (_ ("Settings"));
245 settings.popup = settings_menu;
246 settings.show_all ();
247 header.pack_end (settings);
232 }248 }
233249
234 ~LibraryWindow () {250 ~LibraryWindow () {
@@ -374,11 +390,11 @@
374 };390 };
375 sidebar.label = _ ("S_idebar");391 sidebar.label = _ ("S_idebar");
376 sidebar.tooltip = _ ("Display the sidebar");392 sidebar.tooltip = _ ("Display the sidebar");
377 actions += sidebar; 393 actions += sidebar;
378394
379 Gtk.ToggleActionEntry meta_sidebar = { "CommonDisplayMetadataSidebar", null, TRANSLATABLE,395 Gtk.ToggleActionEntry meta_sidebar = { "CommonDisplayMetadataSidebar", null, TRANSLATABLE,
380 "F10", TRANSLATABLE, on_display_metadata_sidebar, is_metadata_sidebar_visible ()396 "F10", TRANSLATABLE, on_display_metadata_sidebar, is_metadata_sidebar_visible ()
381 };397 };
382 meta_sidebar.label = _ ("Edit Photo In_fo");398 meta_sidebar.label = _ ("Edit Photo In_fo");
383 actions += meta_sidebar;399 actions += meta_sidebar;
384400
@@ -788,7 +804,7 @@
788 private void on_display_sidebar (Gtk.Action action) {804 private void on_display_sidebar (Gtk.Action action) {
789 set_sidebar_visible (((Gtk.ToggleAction) action).get_active ());805 set_sidebar_visible (((Gtk.ToggleAction) action).get_active ());
790806
791 } 807 }
792808
793 private void on_display_metadata_sidebar (Gtk.Action action) {809 private void on_display_metadata_sidebar (Gtk.Action action) {
794 set_metadata_sidebar_visible (((Gtk.ToggleAction) action).get_active ());810 set_metadata_sidebar_visible (((Gtk.ToggleAction) action).get_active ());
@@ -1245,7 +1261,7 @@
1245 client_paned.pack2 (right_frame, true, false);1261 client_paned.pack2 (right_frame, true, false);
1246 client_paned.set_position (Config.Facade.get_instance ().get_sidebar_position ());1262 client_paned.set_position (Config.Facade.get_instance ().get_sidebar_position ());
12471263
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 ();
1249 if (metadata_sidebar_pos > 0)1265 if (metadata_sidebar_pos > 0)
1250 right_client_paned.set_position (metadata_sidebar_pos);1266 right_client_paned.set_position (metadata_sidebar_pos);
12511267
@@ -1523,4 +1539,4 @@
15231539
1524 return false;1540 return false;
1525 }1541 }
1526}1542}
1527\ No newline at end of file1543\ No newline at end of file
15281544
=== modified file 'ui/direct.ui'
--- ui/direct.ui 2014-08-25 06:55:28 +0000
+++ ui/direct.ui 2014-09-05 23:00:47 +0000
@@ -1,21 +1,4 @@
1<ui>1<ui>
2
3 <menubar name="MenuBar">
4 <menu name="FileMenu" action="FileMenu">
5 <menuitem name="Save" action="Save" />
6 <menuitem name="SaveAs" action="SaveAs" />
7 </menu>
8
9 <menu name="EditMenu" action="EditMenu">
10 <menuitem name="Undo" action="CommonUndo" />
11 <menuitem name="Redo" action="CommonRedo" />
12 </menu>
13
14 <menu name="HelpMenu" action="HelpMenu">
15 <menuitem name="About" action="CommonAbout" />
16 </menu>
17 </menubar>
18
19 <popup name="DirectContextMenu">2 <popup name="DirectContextMenu">
20 <placeholder name="ContextJumpPlaceholder">3 <placeholder name="ContextJumpPlaceholder">
21 <menuitem name="ContextJumpToFile" action="CommonJumpToFile" />4 <menuitem name="ContextJumpToFile" action="CommonJumpToFile" />
225
=== modified file 'ui/event.ui'
--- ui/event.ui 2014-08-25 06:55:28 +0000
+++ ui/event.ui 2014-09-05 23:00:47 +0000
@@ -1,8 +1,4 @@
1<ui>1<ui>
2
3 <menubar name="MenuBar">
4 </menubar>
5
6 <popup name="CollectionContextMenu">2 <popup name="CollectionContextMenu">
7 <separator />3 <separator />
8 <menuitem name="ContextMakePrimary" action="MakePrimary" />4 <menuitem name="ContextMakePrimary" action="MakePrimary" />
95
=== modified file 'ui/events_directory.ui'
--- ui/events_directory.ui 2014-08-27 12:43:58 +0000
+++ ui/events_directory.ui 2014-09-05 23:00:47 +0000
@@ -1,23 +1,4 @@
1<ui>1<ui>
2
3 <menubar name="MenuBar">
4 <menu name="FileMenu" action="FileMenu">
5 <menuitem name="Import" action="CommonFileImport" />
6 <menuitem name="ImportExternal" action="ExternalLibraryImport" />
7 </menu>
8
9 <menu name="EditMenu" action="EditMenu">
10 <menuitem name="Undo" action="CommonUndo" />
11 <menuitem name="Redo" action="CommonRedo" />
12 <separator />
13 <menuitem name="Preferences" action="CommonPreferences" />
14 </menu>
15
16 <menu name="HelpMenu" action="HelpMenu">
17 <menuitem name="About" action="CommonAbout" />
18 </menu>
19 </menubar>
20
21 <popup name="EventsDirectoryContextMenu">2 <popup name="EventsDirectoryContextMenu">
22 <menuitem name="ContextMerge" action="Merge" />3 <menuitem name="ContextMerge" action="Merge" />
23 <menuitem name="ContextRename" action="Rename" />4 <menuitem name="ContextRename" action="Rename" />
245
=== modified file 'ui/import.ui'
--- ui/import.ui 2014-08-27 12:43:58 +0000
+++ ui/import.ui 2014-09-05 23:00:47 +0000
@@ -1,25 +1,4 @@
1<ui>1<ui>
2
3 <menubar name="MenuBar">
4 <menu name="FileMenu" action="FileMenu">
5 <menuitem name="Import" action="CommonFileImport" />
6 <menuitem name="ImportSelected" action="ImportSelected" />
7 <menuitem name="ImportAll" action="ImportAll" />
8 <menuitem name="ImportExternal" action="ExternalLibraryImport" />
9 </menu>
10
11 <menu name="EditMenu" action="EditMenu">
12 <menuitem name="Undo" action="CommonUndo" />
13 <menuitem name="Redo" action="CommonRedo" />
14 <separator />
15 <menuitem name="Preferences" action="CommonPreferences" />
16 </menu>
17
18 <menu name="HelpMenu" action="HelpMenu">
19 <menuitem name="About" action="CommonAbout" />
20 </menu>
21 </menubar>
22
23 <popup name="ImportContextMenu">2 <popup name="ImportContextMenu">
24 <menuitem name="ContextImportSelected" action="ImportSelected" />3 <menuitem name="ContextImportSelected" action="ImportSelected" />
25 <menuitem name="ContextImportAll" action="ImportAll" />4 <menuitem name="ContextImportAll" action="ImportAll" />
265
=== modified file 'ui/import_queue.ui'
--- ui/import_queue.ui 2014-08-27 12:43:58 +0000
+++ ui/import_queue.ui 2014-09-05 23:00:47 +0000
@@ -1,24 +1,2 @@
1<ui>1<ui>
2
3 <menubar name="MenuBar">
4 <menu name="FileMenu" action="FileMenu">
5 <menuitem name="Stop" action="Stop" />
6 <separator />
7 <menuitem name="Import" action="CommonFileImport" />
8 <menuitem name="ImportExternal" action="ExternalLibraryImport" />
9 <separator />
10 </menu>
11
12 <menu name="ViewMenu" action="ViewMenu">
13 <menu name="SortEvents" action="CommonSortEvents">
14 <menuitem name="SortEventsAscending" action="CommonSortEventsAscending" />
15 <menuitem name="SortEventsDescending" action="CommonSortEventsDescending" />
16 </menu>
17 </menu>
18
19 <menu name="HelpMenu" action="HelpMenu">
20 <menuitem name="About" action="CommonAbout" />
21 </menu>
22 </menubar>
23
24</ui>2</ui>
25\ No newline at end of file3\ No newline at end of file
264
=== modified file 'ui/media.ui'
--- ui/media.ui 2014-08-27 12:43:58 +0000
+++ ui/media.ui 2014-09-05 23:00:47 +0000
@@ -1,25 +1,4 @@
1<ui>1<ui>
2
3 <menubar name="MenuBar">
4 <menu name="FileMenu" action="FileMenu">
5 <menuitem name="Import" action="CommonFileImport" />
6 <menuitem name="ImportExternal" action="ExternalLibraryImport" />
7 </menu>
8
9 <menu name="EditMenu" action="EditMenu">
10 <menuitem name="Undo" action="CommonUndo" />
11 <menuitem name="Redo" action="CommonRedo" />
12 <separator />
13 <menuitem name="Preferences" action="CommonPreferences" />
14 </menu>
15
16 <placeholder name="FacesMenuPlaceholder" />
17
18 <menu name="HelpMenu" action="HelpMenu">
19 <menuitem name="About" action="CommonAbout" />
20 </menu>
21 </menubar>
22
23 <popup name="MediaViewMenu" action="ViewMenu">2 <popup name="MediaViewMenu" action="ViewMenu">
24 <menuitem name="DisplaySidebar" action="CommonDisplaySidebar" />3 <menuitem name="DisplaySidebar" action="CommonDisplaySidebar" />
25 <menuitem name="DisplayMetadataSidebar" action="CommonDisplayMetadataSidebar" /> 4 <menuitem name="DisplayMetadataSidebar" action="CommonDisplayMetadataSidebar" />
265
=== modified file 'ui/offline.ui'
--- ui/offline.ui 2014-08-27 12:43:58 +0000
+++ ui/offline.ui 2014-09-05 23:00:47 +0000
@@ -1,27 +1,4 @@
1<ui>1<ui>
2
3 <menubar name="MenuBar">
4 <menu name="FileMenu" action="FileMenu">
5 <menuitem name="Import" action="CommonFileImport" />
6 <menuitem name="ImportExternal" action="ExternalLibraryImport" />
7 <separator />
8 <menuitem name="EmptyTrash" action="CommonEmptyTrash" />
9 <separator />
10 <menuitem name="Quit" action="CommonQuit" />
11 </menu>
12
13 <menu name="EditMenu" action="EditMenu">
14 <menuitem name="Undo" action="CommonUndo" />
15 <menuitem name="Redo" action="CommonRedo" />
16 <separator />
17 <menuitem name="Preferences" action="CommonPreferences" />
18 </menu>
19
20 <menu name="HelpMenu" action="HelpMenu">
21 <menuitem name="About" action="CommonAbout" />
22 </menu>
23 </menubar>
24
25 <popup name="OfflineContextMenu">2 <popup name="OfflineContextMenu">
26 <menuitem name="RemoveFromLibrary" action="RemoveFromLibrary" />3 <menuitem name="RemoveFromLibrary" action="RemoveFromLibrary" />
27 </popup>4 </popup>
285
=== modified file 'ui/photo.ui'
--- ui/photo.ui 2014-08-27 12:43:58 +0000
+++ ui/photo.ui 2014-09-05 23:00:47 +0000
@@ -1,23 +1,4 @@
1<ui>1<ui>
2
3 <menubar name="MenuBar">
4 <menu name="FileMenu" action="FileMenu">
5 <menuitem name="Import" action="CommonFileImport" />
6 <menuitem name="ImportExternal" action="ExternalLibraryImport" />
7 </menu>
8
9 <menu name="EditMenu" action="EditMenu">
10 <menuitem name="Undo" action="CommonUndo" />
11 <menuitem name="Redo" action="CommonRedo" />
12 <separator />
13 <menuitem name="Preferences" action="CommonPreferences" />
14 </menu>
15
16 <menu name="HelpMenu" action="HelpMenu">
17 <menuitem name="About" action="CommonAbout" />
18 </menu>
19 </menubar>
20
21 <popup name="PhotoContextMenu">2 <popup name="PhotoContextMenu">
22 <placeholder name="ContextJumpPlaceholder">3 <placeholder name="ContextJumpPlaceholder">
23 <menuitem name="ContextJumpToEvent" action="CommonJumpToEvent" />4 <menuitem name="ContextJumpToEvent" action="CommonJumpToEvent" />
245
=== modified file 'ui/trash.ui'
--- ui/trash.ui 2014-08-28 02:19:38 +0000
+++ ui/trash.ui 2014-09-05 23:00:47 +0000
@@ -1,23 +1,4 @@
1<ui>1<ui>
2
3 <menubar name="MenuBar">
4 <menu name="FileMenu" action="FileMenu">
5 <menuitem name="Import" action="CommonFileImport" />
6 <menuitem name="ImportExternal" action="ExternalLibraryImport" />
7 </menu>
8
9 <menu name="EditMenu" action="EditMenu">
10 <menuitem name="Undo" action="CommonUndo" />
11 <menuitem name="Redo" action="CommonRedo" />
12 <separator />
13 <menuitem name="Preferences" action="CommonPreferences" />
14 </menu>
15
16 <menu name="HelpMenu" action="HelpMenu">
17 <menuitem name="About" action="CommonAbout" />
18 </menu>
19 </menubar>
20
21 <popup name="TrashContextMenu">2 <popup name="TrashContextMenu">
22 <menuitem name="ContextDelete" action="Delete" />3 <menuitem name="ContextDelete" action="Delete" />
23 <menuitem name="ContextRestore" action="Restore" />4 <menuitem name="ContextRestore" action="Restore" />

Subscribers

People subscribed via source and target branches

to all changes: