gtk+ r21592 - in branches/gtk-2-14: . gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21592 - in branches/gtk-2-14: . gtk
- Date: Mon, 6 Oct 2008 18:29:50 +0000 (UTC)
Author: matthiasc
Date: Mon Oct 6 18:29:50 2008
New Revision: 21592
URL: http://svn.gnome.org/viewvc/gtk+?rev=21592&view=rev
Log:
2008-10-06 Matthias Clasen <mclasen redhat com>
* gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
on the range entry itself, too.
Modified:
branches/gtk-2-14/ChangeLog
branches/gtk-2-14/gtk/gtkprintunixdialog.c
Modified: branches/gtk-2-14/gtk/gtkprintunixdialog.c
==============================================================================
--- branches/gtk-2-14/gtk/gtkprintunixdialog.c (original)
+++ branches/gtk-2-14/gtk/gtkprintunixdialog.c Mon Oct 6 18:29:50 2008
@@ -1708,6 +1708,7 @@
GtkTreeViewColumn *column;
GtkTreeSelection *selection;
GtkWidget *custom_input;
+ const gchar *range_tooltip;
main_vbox = gtk_vbox_new (FALSE, 18);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
@@ -1810,7 +1811,8 @@
0, 0);
radio = gtk_radio_button_new_with_mnemonic (gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio)), _("Pag_es:"));
- gtk_widget_set_tooltip_text (radio, _("Specify one or more page ranges,\n e.g. 1-3,7,11"));
+ range_tooltip = _("Specify one or more page ranges,\n e.g. 1-3,7,11");
+ gtk_widget_set_tooltip_text (radio, range_tooltip);
priv->page_range_radio = radio;
gtk_widget_show (radio);
@@ -1818,6 +1820,7 @@
0, 1, 2, 3, GTK_FILL, 0,
0, 0);
entry = gtk_entry_new ();
+ gtk_widget_set_tooltip_text (entry, range_tooltip);
priv->page_range_entry = entry;
gtk_widget_show (entry);
gtk_table_attach (GTK_TABLE (table), entry,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]