Codebase list gpaste / 7ce05dc
Remove unapplied patch Jérémy Lal 1 year, 3 months ago
1 changed file(s) with 0 addition(s) and 28 deletion(s). Raw diff Collapse all Expand all
+0
-28
debian/patches/ui-drop-app-menu.patch less more
0 From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1 Date: Fri, 1 Oct 2021 14:56:50 +0200
2 Subject: ui: drop app menu
3
4 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5 (cherry picked from commit 2d682574b433c8d8b8e34e89cef53762821f555e)
6 ---
7 src/ui/gpaste-ui.c | 7 -------
8 1 file changed, 7 deletions(-)
9
10 diff --git a/src/ui/gpaste-ui.c b/src/ui/gpaste-ui.c
11 index 94086c6..acac123 100644
12 --- a/src/ui/gpaste-ui.c
13 +++ b/src/ui/gpaste-ui.c
14 @@ -103,13 +103,6 @@ main (gint argc, gchar *argv[])
15
16 g_action_map_add_action_entries (G_ACTION_MAP (app), app_entries, G_N_ELEMENTS (app_entries), app);
17
18 - GMenu *menu = g_menu_new ();
19 - g_menu_append (menu, _("GPaste Settings"), "app.prefs");
20 - g_menu_append (menu, _("Keyboard Shortcuts"), "win.show-help-overlay");
21 - g_menu_append (menu, _("About GPaste"), "app.about");
22 - g_menu_append (menu, _("Quit"), "app.quit");
23 - gtk_application_set_app_menu (app, G_MENU_MODEL (menu));
24 -
25 G_GNUC_UNUSED GtkWidget *window = g_paste_ui_window_new (app);
26
27 return g_application_run (gapp, argc, argv);