mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 20:12:30 +00:00
make the tips label selectable.
2007-05-04 Sven Neumann <sven@gimp.org> * app/dialogs/tips-dialog.c: make the tips label selectable. svn path=/trunk/; revision=22416
This commit is contained in:
parent
32d6d421c6
commit
228c2ff0c5
|
@ -1,3 +1,7 @@
|
|||
2007-05-04 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/dialogs/tips-dialog.c: make the tips label selectable.
|
||||
|
||||
2007-05-04 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/script-fu/scripts/contactsheet.scm: added missing
|
||||
|
|
|
@ -159,12 +159,15 @@ tips_dialog_create (Gimp *gimp)
|
|||
gtk_box_pack_start (GTK_BOX (vbox2), welcome_label, FALSE, FALSE, 0);
|
||||
|
||||
thetip_label = gtk_label_new (NULL);
|
||||
gtk_label_set_selectable (GTK_LABEL (thetip_label), TRUE);
|
||||
gtk_label_set_justify (GTK_LABEL (thetip_label), GTK_JUSTIFY_LEFT);
|
||||
gtk_label_set_line_wrap (GTK_LABEL (thetip_label), TRUE);
|
||||
gtk_misc_set_alignment (GTK_MISC (thetip_label), 0.5, 0.5);
|
||||
gtk_box_pack_start (GTK_BOX (vbox2), thetip_label, TRUE, TRUE, 0);
|
||||
gtk_widget_show (thetip_label);
|
||||
|
||||
gtk_container_set_focus_chain (GTK_CONTAINER (vbox2), NULL);
|
||||
|
||||
vbox2 = gtk_vbox_new (FALSE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (hbox), vbox2, FALSE, FALSE, 0);
|
||||
gtk_widget_show (vbox2);
|
||||
|
@ -217,6 +220,8 @@ tips_dialog_create (Gimp *gimp)
|
|||
gtk_container_add (GTK_CONTAINER (bbox), button);
|
||||
gtk_widget_show (button);
|
||||
|
||||
gtk_widget_grab_focus (button);
|
||||
|
||||
g_signal_connect (button, "clicked",
|
||||
G_CALLBACK (tips_show_next),
|
||||
NULL);
|
||||
|
|
Loading…
Reference in a new issue