comparison src/gtk/misc-gtk.c @ 866:877282be3a78

2006-11-30 Brian Masney <masneyb@gftp.org> * src/gtk/bookmarks.c - changed the button order to match the button order in GNOME. (from Alan Horkan <horkana@maths.tcd.ie>) * src/gtk/bookmarks.c src/gtk/chmod_dialog.c src/gtk/gtkui_transfer.c src/gtk/misc-gtk.c - changed the button order to match what is in GNOME. (closes #310786) * src/gtk/bookmarks.c src/gtk/options_dialog.c - removed the apply button (closes #153373)
author masneyb
date Sat, 23 Dec 2006 19:54:08 +0000
parents 57aad6d4b304
children 1808cebed602
comparison
equal deleted inserted replaced
865:1fae947d4418 866:877282be3a78
935 yes_text = GTK_STOCK_MISSING_IMAGE; 935 yes_text = GTK_STOCK_MISSING_IMAGE;
936 break; 936 break;
937 } 937 }
938 938
939 dialog = gtk_dialog_new_with_buttons (_(diagtxt), NULL, 0, 939 dialog = gtk_dialog_new_with_buttons (_(diagtxt), NULL, 0,
940 GTK_STOCK_CANCEL,
941 GTK_RESPONSE_NO,
940 yes_text, 942 yes_text,
941 GTK_RESPONSE_YES, 943 GTK_RESPONSE_YES,
942 GTK_STOCK_CANCEL,
943 GTK_RESPONSE_NO,
944 NULL); 944 NULL);
945 #endif 945 #endif
946 gtk_container_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), 10); 946 gtk_container_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), 10);
947 gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 5); 947 gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 5);
948 gtk_window_set_wmclass (GTK_WINDOW(dialog), "edit", "gFTP"); 948 gtk_window_set_wmclass (GTK_WINDOW(dialog), "edit", "gFTP");
1062 5); 1062 5);
1063 gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->action_area), 15); 1063 gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->action_area), 15);
1064 gtk_box_set_homogeneous (GTK_BOX (GTK_DIALOG (dialog)->action_area), TRUE); 1064 gtk_box_set_homogeneous (GTK_BOX (GTK_DIALOG (dialog)->action_area), TRUE);
1065 #else 1065 #else
1066 dialog = gtk_dialog_new_with_buttons (_(diagtxt), NULL, 0, 1066 dialog = gtk_dialog_new_with_buttons (_(diagtxt), NULL, 0,
1067 GTK_STOCK_NO,
1068 GTK_RESPONSE_NO,
1067 GTK_STOCK_YES, 1069 GTK_STOCK_YES,
1068 GTK_RESPONSE_YES, 1070 GTK_RESPONSE_YES,
1069 GTK_STOCK_NO,
1070 GTK_RESPONSE_NO,
1071 NULL); 1071 NULL);
1072 #endif 1072 #endif
1073 gtk_container_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), 10); 1073 gtk_container_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), 10);
1074 gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 5); 1074 gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 5);
1075 gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE); 1075 gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE);