[mate-panel] 01/02: debian/patches: Drop 1001_fix_menubar_launching_for_mozo.diff. Applied upstream.
Martin Wimpress
flexiondotorg-guest at moszumanska.debian.org
Mon Jun 12 20:25:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
flexiondotorg-guest pushed a commit to branch ubuntu/artful
in repository mate-panel.
commit 31ad514996698bf2fbb076a7d3d012215e061694
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date: Mon Jun 12 21:13:25 2017 +0100
debian/patches: Drop 1001_fix_menubar_launching_for_mozo.diff. Applied upstream.
---
.../1001_fix_menubar_launching_for_mozo.diff | 55 ----------------------
debian/patches/series | 1 -
2 files changed, 56 deletions(-)
diff --git a/debian/patches/1001_fix_menubar_launching_for_mozo.diff b/debian/patches/1001_fix_menubar_launching_for_mozo.diff
deleted file mode 100644
index a251cd0..0000000
--- a/debian/patches/1001_fix_menubar_launching_for_mozo.diff
+++ /dev/null
@@ -1,55 +0,0 @@
-diff --git a/mate-panel/panel-menu-bar.c b/mate-panel/panel-menu-bar.c
-index fc13165..eefd2ec 100644
---- a/mate-panel/panel-menu-bar.c
-+++ b/mate-panel/panel-menu-bar.c
-@@ -404,15 +404,10 @@ void panel_menu_bar_invoke_menu(PanelMenuBar* menubar, const char* callback_name
- }
- else if (!strcmp(callback_name, "edit"))
- {
-- GError* error = NULL;
--
-- panel_launch_desktop_file_with_fallback("menulibre.desktop", "menulibre", screen, &error);
--
-- if (error)
-- {
-- g_error_free(error);
-+ if (panel_is_program_in_path("menulibre"))
-+ panel_launch_desktop_file_with_fallback("menulibre.desktop", "menulibre", screen, NULL);
-+ else
- panel_launch_desktop_file_with_fallback("mozo.desktop", "mozo", screen, NULL);
-- }
- }
- }
-
-diff --git a/mate-panel/panel-menu-button.c b/mate-panel/panel-menu-button.c
-index 3fd7003..74cf0df 100644
---- a/mate-panel/panel-menu-button.c
-+++ b/mate-panel/panel-menu-button.c
-@@ -989,18 +989,15 @@ panel_menu_button_invoke_menu (PanelMenuButton *button,
- panel_show_help (screen, "mate-user-guide", "gospanel-37", NULL);
-
- } else if (!strcmp (callback_name, "edit")) {
-- GError *error = NULL;
--
-- panel_launch_desktop_file_with_fallback ("menulibre.desktop",
-- "menulibre",
-- screen, &error);
-- if (error) {
-- g_error_free (error);
-- panel_launch_desktop_file_with_fallback (
-- "mozo.desktop",
-- "mozo",
-- screen, NULL);
-- }
-+
-+ if (panel_is_program_in_path ("menulibre"))
-+ panel_launch_desktop_file_with_fallback ("menulibre.desktop",
-+ "menulibre",
-+ screen, NULL);
-+ else
-+ panel_launch_desktop_file_with_fallback ("mozo.desktop",
-+ "mozo",
-+ screen, NULL);
- }
- }
-
diff --git a/debian/patches/series b/debian/patches/series
index ab74db0..747316b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
1000_prevent_menubar_destruction_when_enabling_global_menus.patch
-1001_fix_menubar_launching_for_mozo.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-panel.git
More information about the pkg-mate-commits
mailing list