[Xfce4-commits] [panel-plugins/xfce4-smartbookmark-plugin] 01/01: reuse label to set tooltip on the GtkSwitch for clarity

noreply at xfce.org noreply at xfce.org
Fri Apr 29 09:43:47 CEST 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-smartbookmark-plugin.

commit 36fb61845e71ec58d65dddebb906a9489931d313
Author: Landry Breuil <landry at xfce.org>
Date:   Fri Apr 29 09:43:28 2016 +0200

    reuse label to set tooltip on the GtkSwitch for clarity
---
 src/smartbookmark.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index 4959194..0ed916f 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -293,6 +293,7 @@ static void search_create_options(XfcePanelPlugin *plugin, t_search *search)
 
     /* Hide label option */
     search->hide_check = gtk_switch_new();
+    gtk_widget_set_tooltip_text(GTK_WIDGET(search->hide_check),_("Hide label"));
     gtk_switch_set_active(GTK_SWITCH(search->hide_check),
                                  search->hide_label);
     gtk_box_pack_start(GTK_BOX(hbox), search->hide_check, FALSE, FALSE, 5);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list