summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSorokin Alexei <[email protected]>2016-06-07 19:39:45 +0300
committerraveit65 <[email protected]>2016-06-07 20:08:42 +0200
commit82a561647c0c993006be5141be737cae98e94a7f (patch)
treea4ed1dab906cb588808d2dcdf01c5d8080119c04 /src
parent7703c9e3e480629a7eeab8b4310f313b9b1784df (diff)
downloadmate-power-manager-82a561647c0c993006be5141be737cae98e94a7f.tar.bz2
mate-power-manager-82a561647c0c993006be5141be737cae98e94a7f.tar.xz
fix having an icon space with having no battery
Diffstat (limited to 'src')
-rw-r--r--src/gpm-tray-icon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index 6d4b2f9..3dcfae2 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -427,6 +427,7 @@ gpm_tray_icon_init (GpmTrayIcon *icon)
G_CALLBACK (gpm_tray_icon_settings_changed_cb), icon);
icon->priv->status_icon = gtk_status_icon_new ();
+ gpm_tray_icon_show (icon, FALSE);
g_signal_connect_object (G_OBJECT (icon->priv->status_icon),
"popup_menu",
G_CALLBACK (gpm_tray_icon_popup_menu_cb),