1
From: Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com>
2
Description: Correctly initialize the file choose with a SAVE action.
3
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571681
4
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gmanedit/+bug/688827
6
Approved: Ralf Treinen <treinen@debian.org>
8
--- gmanedit~/src/interface.c 2010-12-10 19:57:44.000000000 -0500
9
+++ gmanedit/src/interface.c 2010-12-10 20:05:53.093455001 -0500
12
save_file = gtk_file_chooser_dialog_new (_("Gmanedit - Saving file"),
14
- GTK_FILE_CHOOSER_ACTION_OPEN,
15
+ GTK_FILE_CHOOSER_ACTION_SAVE,
16
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
17
- GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
18
+ GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
20
GdkPixbuf *icon_pixbuf = create_image ("gmanedit_icon.png");
21
gtk_window_set_icon (GTK_WINDOW (save_file), icon_pixbuf);