[gnome-power-manager] Always show the battery status icons in the left click action
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] Always show the battery status icons in the left click action
- Date: Fri, 21 Aug 2009 14:06:47 +0000 (UTC)
commit a4d73331058f1d81ffbf2241abc083d3282243bc
Author: Richard Hughes <richard hughsie com>
Date: Fri Aug 21 15:05:41 2009 +0100
Always show the battery status icons in the left click action
src/gpm-tray-icon.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index ec3fc8c..11e5981 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -516,6 +516,7 @@ gpm_tray_icon_add_device (GpmTrayIcon *icon, GtkMenu *menu, const GPtrArray *arr
icon_name = gpm_devicekit_get_object_icon (device);
image = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_MENU);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
+ gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item), TRUE);
/* callback and add the the menu */
g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (gpm_tray_icon_show_info_cb), icon);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]