[gtk+/parasite2: 7/38] parasite: Turn the inspect button back into an image button



commit 52553a0a6e3a21c28f9aefb856d3d6ce5b1f3071
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 4 09:12:58 2014 -0400

    parasite: Turn the inspect button back into an image button

 modules/other/parasite/inspect-button.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/modules/other/parasite/inspect-button.c b/modules/other/parasite/inspect-button.c
index 225f4c2..5bfe5de 100644
--- a/modules/other/parasite/inspect-button.c
+++ b/modules/other/parasite/inspect-button.c
@@ -294,7 +294,8 @@ gtkparasite_inspect_button_new (ParasiteWindow *parasite)
 {
   GtkWidget *button;
 
-  button = gtk_button_new_with_label ("Inspect");
+  button = gtk_button_new_from_icon_name ("find", GTK_ICON_SIZE_BUTTON);
+  gtk_widget_set_tooltip_text (button, "Inspect");
   g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (on_inspect), parasite);
 
   return button;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]