[gnome-panel] action-button: remove applets that does not exist
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] action-button: remove applets that does not exist
- Date: Sun, 8 Oct 2017 17:25:18 +0000 (UTC)
commit 4c9f062e53f8e072ffea26d03c1d798769fd0a70
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Oct 8 19:02:32 2017 +0300
action-button: remove applets that does not exist
Commit 0824c4201d9f74207d752c823984a94805b41248 removed
"Connect to Server..." applet because required application does
not exist.
That created new useless runtime warning:
Unknown action type 'connect-server'
Fix that by removing applet from panel.
gnome-panel/panel-action-button.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gnome-panel/panel-action-button.c b/gnome-panel/panel-action-button.c
index b08683e..3319e78 100644
--- a/gnome-panel/panel-action-button.c
+++ b/gnome-panel/panel-action-button.c
@@ -757,7 +757,8 @@ panel_action_button_load (PanelWidget *panel,
}
if (type == PANEL_ACTION_NONE) {
- g_warning ("Unknown action type '%s", detail_for_type);
+ g_debug ("Unknown action type '%s'", detail_for_type);
+ panel_layout_delete_object (id);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]