[libwnck] [tasklist] Always show icons in group menu
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libwnck] [tasklist] Always show icons in group menu
- Date: Tue, 8 Sep 2009 01:30:50 +0000 (UTC)
commit ec82fc0ab63e59699c13fe9c77ca67a35acad9fb
Author: Marcus Carlson <gnomebugzilla mejlamej nu>
Date: Tue Sep 8 03:29:05 2009 +0200
[tasklist] Always show icons in group menu
http://bugzilla.gnome.org/show_bug.cgi?id=591182
libwnck/tasklist.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c
index 3d15fd5..cbf0c9a 100644
--- a/libwnck/tasklist.c
+++ b/libwnck/tasklist.c
@@ -2949,9 +2949,13 @@ wnck_task_popup_menu (WnckTask *task,
text = wnck_task_get_text (win_task, TRUE, TRUE);
menu_item = gtk_image_menu_item_new_with_label (text);
+ g_free (text);
+
+ gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (menu_item),
+ TRUE);
+
if (wnck_task_get_needs_attention (win_task))
_make_gtk_label_bold (GTK_LABEL (GTK_BIN (menu_item)->child));
- g_free (text);
text = wnck_task_get_text (win_task, FALSE, FALSE);
gtk_widget_set_tooltip_text (menu_item, text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]