diff options
author | Matthias Clasen <mclasen@redhat.com> | 2008-10-06 18:26:27 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-10-06 18:26:27 +0000 |
commit | 29c097a5f7a2418a2415b9bb8faebbbbe3827b90 (patch) | |
tree | 81985838bccdb042bd1c46e5cc2d0f4acd0d231e | |
parent | 6ee15f8ed684e510addc4f1d44acb623dbf6c13b (diff) | |
download | gtk+-29c097a5f7a2418a2415b9bb8faebbbbe3827b90.tar.gz |
Show the tooltip on the range entry itself, too.
2008-10-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
on the range entry itself, too.
svn path=/trunk/; revision=21591
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gtk/gtkprintunixdialog.c | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2008-10-06 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip + on the range entry itself, too. + 2008-10-04 Tor Lillqvist <tml@novell.com> Bug 132501 - Make utility window translate to tool window in win32 diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c index 8751bfe975..9ac5b19f33 100644 --- a/gtk/gtkprintunixdialog.c +++ b/gtk/gtkprintunixdialog.c @@ -1709,6 +1709,7 @@ create_main_page (GtkPrintUnixDialog *dialog) 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); @@ -1811,7 +1812,8 @@ create_main_page (GtkPrintUnixDialog *dialog) 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); @@ -1819,6 +1821,7 @@ create_main_page (GtkPrintUnixDialog *dialog) 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, |