Author: rpmcruz
Date: Wed Jan 21 19:02:16 2009
New Revision: 54874
URL: http://svn.opensuse.org/viewcvs/yast?rev=54874&view=rev
Log:
* src/YGPushButton.cc: bug fix 446440: re-enable treat icon code.
Modified:
branches/SuSE-Code-11-Branch/gtk/ChangeLog
branches/SuSE-Code-11-Branch/gtk/src/YGPushButton.cc
Modified: branches/SuSE-Code-11-Branch/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/gtk/ChangeLog?rev=54874&r1=54873&r2=54874&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/gtk/ChangeLog (original)
+++ branches/SuSE-Code-11-Branch/gtk/ChangeLog Wed Jan 21 19:02:16 2009
@@ -1,3 +1,7 @@
+2009-01-21 Ricardo Cruz
+
+ * src/YGPushButton.cc: bug fix 446440: re-enable treat icon code.
+
2009-01-17 Ricardo Cruz
* src/ygtkwizard.c: bug fix 464900: reduce space between buttons,
Modified: branches/SuSE-Code-11-Branch/gtk/src/YGPushButton.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/gtk/src/YGPushButton.cc?rev=54874&r1=54873&r2=54874&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/gtk/src/YGPushButton.cc (original)
+++ branches/SuSE-Code-11-Branch/gtk/src/YGPushButton.cc Wed Jan 21 19:02:16 2009
@@ -24,6 +24,7 @@
gtk_button_set_use_underline (GTK_BUTTON (getWidget()), TRUE);
setLabel (label);
connect (getWidget(), "clicked", G_CALLBACK (clicked_cb), this);
+ g_signal_connect (G_OBJECT (getWidget()), "expose-event", G_CALLBACK (treat_icon_cb), this);
}
void setStockIcon (const std::string &label)
@@ -148,7 +149,7 @@
}
return true;
}
-#if 0
+#if 1
static gboolean treat_icon_cb (GtkWidget *widget, GdkEventExpose *event,
YGPushButton *pThis)
{
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org