app/brush_select.c app/channels_dialog.c app/color_select.c app/devices.c
1999-03-27 Michael Natterer <mitschel@cs.tu-berlin.de> * app/brush_select.c * app/channels_dialog.c * app/color_select.c * app/devices.c * app/file_new_dialog.c * app/gradient_select.c * app/palette_select.c * app/pattern_select.c: applied a patch from Marco Lamberto <lm@geocities.com> which unifies actionareas ("Cancel" rightmost and default). Did the same in some more dialogs. * libgimp/gimpfileselection.c * libgimp/gimppatheditor.c * app/preferences_dialog.[ch]: completely reworked the preferences dialog: - select the notebook's pages with a tree. - reordered the categories. Please give me feedback, this really needs to be intuitive. - removed lots of unused #include's. - turned the prefs. dialog into a test site for new convenience constructors. These changes are however not visible. Flame me until they're perfect ;) When finished, this stuff can save *many* lines of gtk+ code. * modules/colorsel_gtk.c: made it circular.
This commit is contained in:
committed by
Michael Natterer
parent
15333df6ae
commit
2f34216a2a
@ -115,7 +115,7 @@ gimp_file_selection_init (GimpFileSelection *gfs)
|
||||
gtk_widget_show (gfs->browse_button);
|
||||
|
||||
gfs->entry = gtk_entry_new ();
|
||||
gtk_box_pack_end (GTK_BOX (gfs), gfs->entry, TRUE, TRUE, 5);
|
||||
gtk_box_pack_end (GTK_BOX (gfs), gfs->entry, TRUE, TRUE, 2);
|
||||
gtk_signal_connect (GTK_OBJECT(gfs->entry), "activate",
|
||||
(GtkSignalFunc) gimp_file_selection_entry_callback, gfs);
|
||||
gtk_signal_connect (GTK_OBJECT(gfs->entry), "focus_out_event",
|
||||
|
||||
@ -93,7 +93,7 @@ gimp_path_editor_init (GimpPathEditor *gpe)
|
||||
gpe->selected_item = NULL;
|
||||
gpe->number_of_items = 0;
|
||||
|
||||
gpe->upper_hbox = gtk_hbox_new (FALSE, 5);
|
||||
gpe->upper_hbox = gtk_hbox_new (FALSE, 2);
|
||||
gtk_box_pack_start (GTK_BOX (gpe), gpe->upper_hbox, FALSE, TRUE, 0);
|
||||
gtk_widget_show (gpe->upper_hbox);
|
||||
|
||||
@ -129,7 +129,7 @@ gimp_path_editor_init (GimpPathEditor *gpe)
|
||||
scrolled_window =
|
||||
gtk_scrolled_window_new (GTK_ADJUSTMENT (hadjustment),
|
||||
GTK_ADJUSTMENT (vadjustment));
|
||||
gtk_box_pack_start (GTK_BOX (gpe), scrolled_window, TRUE, TRUE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (gpe), scrolled_window, TRUE, TRUE, 2);
|
||||
gtk_widget_show (scrolled_window);
|
||||
|
||||
gpe->dir_list = gtk_list_new ();
|
||||
|
||||
Reference in New Issue
Block a user