[gedit/wip/printing-improvements] print-preview: set has-tooltip in the .ui file
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/printing-improvements] print-preview: set has-tooltip in the .ui file
- Date: Sat, 27 Jun 2015 11:37:06 +0000 (UTC)
commit b31975d65d4c9126dae7fce4a7791f0bf4acbb34
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Jun 27 12:51:19 2015 +0200
print-preview: set has-tooltip in the .ui file
gedit/gedit-print-preview.c | 1 -
gedit/resources/ui/gedit-print-preview.ui | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-print-preview.c b/gedit/gedit-print-preview.c
index fd97b93..be055b3 100644
--- a/gedit/gedit-print-preview.c
+++ b/gedit/gedit-print-preview.c
@@ -820,7 +820,6 @@ gedit_print_preview_init (GeditPrintPreview *preview)
G_CALLBACK (close_button_clicked),
preview);
- g_object_set (preview->layout, "has-tooltip", TRUE, NULL);
g_signal_connect (preview->layout,
"query-tooltip",
G_CALLBACK (preview_layout_query_tooltip),
diff --git a/gedit/resources/ui/gedit-print-preview.ui b/gedit/resources/ui/gedit-print-preview.ui
index d3f31ba..9745fea 100644
--- a/gedit/resources/ui/gedit-print-preview.ui
+++ b/gedit/resources/ui/gedit-print-preview.ui
@@ -367,6 +367,7 @@
<property name="can_focus">True</property>
<property name="has_focus">False</property>
<property name="is_focus">False</property>
+ <property name="has_tooltip">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_KEY_PRESS_MASK |
GDK_STRUCTURE_MASK</property>
<child internal-child="accessible">
<object class="AtkObject" id="layout1-atkobject">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]