gtk+ r21355 - in branches/gtk-2-12: . gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21355 - in branches/gtk-2-12: . gtk
- Date: Fri, 12 Sep 2008 03:10:31 +0000 (UTC)
Author: matthiasc
Date: Fri Sep 12 03:10:31 2008
New Revision: 21355
URL: http://svn.gnome.org/viewvc/gtk+?rev=21355&view=rev
Log:
* gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
the image when the label is set to "(None)". Reported by
Neil Roberts
Modified:
branches/gtk-2-12/ChangeLog
branches/gtk-2-12/gtk/gtkfilechooserbutton.c
Modified: branches/gtk-2-12/gtk/gtkfilechooserbutton.c
==============================================================================
--- branches/gtk-2-12/gtk/gtkfilechooserbutton.c (original)
+++ branches/gtk-2-12/gtk/gtkfilechooserbutton.c Fri Sep 12 03:10:31 2008
@@ -2407,7 +2407,10 @@
g_free (label_text);
}
else
- gtk_label_set_text (GTK_LABEL (priv->label), _(FALLBACK_DISPLAY_NAME));
+ {
+ gtk_label_set_text (GTK_LABEL (priv->label), _(FALLBACK_DISPLAY_NAME));
+ gtk_image_set_from_pixbuf (GTK_IMAGE (priv->image), NULL);
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]