mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Make sure the license dialog is initially displayed without a horizontal
2005-01-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (display_license_dialog): Make sure the license dialog is initially displayed without a horizontal scrollbar. (gtk_about_dialog_class_init): Document the fact that the license text is not wrapped. (#165012, Christian Rose)
This commit is contained in:
parent
35819662f8
commit
ce2e7b8798
@ -1,3 +1,11 @@
|
||||
2005-01-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaboutdialog.c (display_license_dialog): Make sure
|
||||
the license dialog is initially displayed without a horizontal
|
||||
scrollbar.
|
||||
(gtk_about_dialog_class_init): Document the fact that the
|
||||
license text is not wrapped. (#165012, Christian Rose)
|
||||
|
||||
2005-01-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkbutton.c (gtk_button_set_image): Fix docs. (#165180,
|
||||
|
@ -1,3 +1,11 @@
|
||||
2005-01-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaboutdialog.c (display_license_dialog): Make sure
|
||||
the license dialog is initially displayed without a horizontal
|
||||
scrollbar.
|
||||
(gtk_about_dialog_class_init): Document the fact that the
|
||||
license text is not wrapped. (#165012, Christian Rose)
|
||||
|
||||
2005-01-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkbutton.c (gtk_button_set_image): Fix docs. (#165180,
|
||||
|
@ -1,3 +1,11 @@
|
||||
2005-01-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaboutdialog.c (display_license_dialog): Make sure
|
||||
the license dialog is initially displayed without a horizontal
|
||||
scrollbar.
|
||||
(gtk_about_dialog_class_init): Document the fact that the
|
||||
license text is not wrapped. (#165012, Christian Rose)
|
||||
|
||||
2005-01-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkbutton.c (gtk_button_set_image): Fix docs. (#165180,
|
||||
|
@ -250,7 +250,8 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
|
||||
*
|
||||
* The license of the program. This string is displayed in a
|
||||
* text view in a secondary dialog, therefore it is fine to use
|
||||
* a long multi-paragraph text.
|
||||
* a long multi-paragraph text. Note that the text is not wrapped
|
||||
* in the text view, thus it must contain the intended linebreaks.
|
||||
*
|
||||
* Since: 2.6
|
||||
*/
|
||||
@ -1959,8 +1960,9 @@ display_license_dialog (GtkWidget *button,
|
||||
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw),
|
||||
GTK_SHADOW_IN);
|
||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
|
||||
GTK_POLICY_AUTOMATIC,
|
||||
GTK_POLICY_NEVER,
|
||||
GTK_POLICY_AUTOMATIC);
|
||||
g_signal_connect (sw, "map", G_CALLBACK (set_policy), NULL);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (sw), 8);
|
||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), sw, TRUE, TRUE, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user