[Xfce4-commits] <xfce4-appfinder:master> Set an icon before the tooltip.

Nick Schermer noreply at xfce.org
Thu Dec 29 17:00:01 CET 2011


Updating branch refs/heads/master
         to a8f39543ed49211053f08336c75777e48572f0d4 (commit)
       from 5c5d03aa79d9a987efad664fca983970c80660c8 (commit)

commit a8f39543ed49211053f08336c75777e48572f0d4
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Dec 29 16:58:01 2011 +0100

    Set an icon before the tooltip.

 src/appfinder-window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/appfinder-window.c b/src/appfinder-window.c
index 9b64e1d..a57786d 100644
--- a/src/appfinder-window.c
+++ b/src/appfinder-window.c
@@ -259,6 +259,9 @@ xfce_appfinder_window_init (XfceAppfinderWindow *window)
       G_CALLBACK (xfce_appfinder_window_entry_activate), window);
   g_signal_connect (G_OBJECT (entry), "key-press-event",
       G_CALLBACK (xfce_appfinder_window_entry_key_press_event), window);
+  gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry),
+                                     GTK_ENTRY_ICON_SECONDARY,
+                                     GTK_STOCK_GO_DOWN);
   gtk_entry_set_icon_tooltip_text (GTK_ENTRY (entry),
                                    GTK_ENTRY_ICON_SECONDARY,
                                    _("Toggle view mode"));


More information about the Xfce4-commits mailing list