[gtk+] GtkMenuSectionBox: Add tooltip to iconic buttons
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkMenuSectionBox: Add tooltip to iconic buttons
- Date: Mon, 17 Nov 2014 17:38:11 +0000 (UTC)
commit 7543e7b279200ed0aad80574c0a3fa2672f297ce
Author: Timm Bäder <mail baedert org>
Date: Tue Sep 23 18:26:53 2014 +0200
GtkMenuSectionBox: Add tooltip to iconic buttons
gtk/gtkmenusectionbox.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmenusectionbox.c b/gtk/gtkmenusectionbox.c
index 9905fa7..e2b340b 100644
--- a/gtk/gtkmenusectionbox.c
+++ b/gtk/gtkmenusectionbox.c
@@ -296,6 +296,7 @@ gtk_menu_section_box_insert_func (GtkMenuTrackerItem *item,
if (box->iconic)
{
g_object_bind_property (item, "verb-icon", widget, "icon", G_BINDING_SYNC_CREATE);
+ g_object_bind_property (item, "label", widget, "tooltip-text", G_BINDING_SYNC_CREATE);
g_object_set (widget, "iconic", TRUE, "centered", TRUE, NULL);
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]