Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54874 - in /branches/SuSE-Code-11-Branch/gtk: ChangeLog src/YGPushButton.cc
  • From: rpmcruz@xxxxxxxxxxxxxxxx
  • Date: Wed, 21 Jan 2009 18:02:16 -0000
  • Message-id: <E1LPhP6-0007Gl-Fz@xxxxxxxxxxxxxxxx>
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 <rpmcruz@xxxxxxxxxxxxxxxxxxx>
+
+ * src/YGPushButton.cc: bug fix 446440: re-enable treat icon code.
+
2009-01-17 Ricardo Cruz <rpmcruz@xxxxxxxxxxxxxxxxxxx>

* 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages