summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/gtk+/files/1.2.10/gtk+-filesel-move-fileops.patch')
-rw-r--r--x11-libs/gtk+/files/1.2.10/gtk+-filesel-move-fileops.patch58
1 files changed, 58 insertions, 0 deletions
diff --git a/x11-libs/gtk+/files/1.2.10/gtk+-filesel-move-fileops.patch b/x11-libs/gtk+/files/1.2.10/gtk+-filesel-move-fileops.patch
new file mode 100644
index 000000000000..848fa345f01d
--- /dev/null
+++ b/x11-libs/gtk+/files/1.2.10/gtk+-filesel-move-fileops.patch
@@ -0,0 +1,58 @@
+diff -Nrc -x *~ gtk+-1.2.10.orig/gtk/gtkfilesel.c gtk+-1.2.10/gtk/gtkfilesel.c
+*** gtk+-1.2.10.orig/gtk/gtkfilesel.c Thu Apr 19 08:20:04 2001
+--- gtk+-1.2.10/gtk/gtkfilesel.c Thu Apr 19 08:19:07 2001
+***************
+*** 2182,2197 ****
+ gtk_container_add (GTK_CONTAINER (filesel), filesel->main_vbox);
+ gtk_widget_show (filesel->main_vbox);
+
+- /* The horizontal box containing create, rename etc. buttons */
+- filesel->button_area = gtk_hbutton_box_new ();
+- gtk_button_box_set_layout(GTK_BUTTON_BOX(filesel->button_area), GTK_BUTTONBOX_START);
+- gtk_button_box_set_spacing(GTK_BUTTON_BOX(filesel->button_area), 0);
+- gtk_box_pack_start (GTK_BOX (filesel->main_vbox), filesel->button_area,
+- FALSE, FALSE, 0);
+- gtk_widget_show (filesel->button_area);
+-
+- gtk_file_selection_show_fileop_buttons(filesel);
+-
+ /* hbox for pulldown menu */
+ pulldown_hbox = gtk_hbox_new (TRUE, 5);
+ gtk_box_pack_start (GTK_BOX (filesel->main_vbox), pulldown_hbox, FALSE, FALSE, 0);
+--- 2182,2187 ----
+***************
+*** 2201,2207 ****
+ filesel->history_pulldown = gtk_option_menu_new ();
+ gtk_widget_show (filesel->history_pulldown);
+ gtk_box_pack_start (GTK_BOX (pulldown_hbox), filesel->history_pulldown,
+! FALSE, FALSE, 0);
+
+ /* The horizontal box containing the directory and file listboxes */
+ list_hbox = gtk_hbox_new (FALSE, 5);
+--- 2191,2197 ----
+ filesel->history_pulldown = gtk_option_menu_new ();
+ gtk_widget_show (filesel->history_pulldown);
+ gtk_box_pack_start (GTK_BOX (pulldown_hbox), filesel->history_pulldown,
+! TRUE, FALSE, 0);
+
+ /* The horizontal box containing the directory and file listboxes */
+ list_hbox = gtk_hbox_new (FALSE, 5);
+***************
+*** 2288,2293 ****
+--- 2278,2293 ----
+ gtk_box_pack_start (GTK_BOX (list_hbox), scrolled_win, TRUE, TRUE, 0);
+ gtk_widget_show (filesel->file_list);
+ gtk_widget_show (scrolled_win);
++
++ /* The horizontal box containing create, rename etc. buttons */
++ filesel->button_area = gtk_hbutton_box_new ();
++ gtk_button_box_set_layout(GTK_BUTTON_BOX(filesel->button_area), GTK_BUTTONBOX_END);
++ gtk_button_box_set_spacing(GTK_BUTTON_BOX(filesel->button_area), 0);
++ gtk_box_pack_start (GTK_BOX (filesel->main_vbox), filesel->button_area,
++ FALSE, FALSE, 0);
++ gtk_widget_show (filesel->button_area);
++
++ gtk_file_selection_show_fileop_buttons(filesel);
+
+ /* action area for packing buttons into. */
+ filesel->action_area = gtk_hbox_new (TRUE, 0);