Commit 6fbd46ad1b31850f987bc53170a14edba54cec6b
1 parent
b9edbfb2
Exists in
master
and in
2 other branches
Adjusting filename binding.
Showing
2 changed files
with
7 additions
and
3 deletions
Show diff stats
src/objects/os/linux/savedesktopicon.c
@@ -232,7 +232,7 @@ | @@ -232,7 +232,7 @@ | ||
232 | inputs[1], | 232 | inputs[1], |
233 | GTK_FILE_CHOOSER_ACTION_SAVE, | 233 | GTK_FILE_CHOOSER_ACTION_SAVE, |
234 | _("Save to shortcut file"), | 234 | _("Save to shortcut file"), |
235 | - "document-save", | 235 | + NULL, |
236 | "*.desktop", | 236 | "*.desktop", |
237 | _("Standard desktop files") | 237 | _("Standard desktop files") |
238 | ); | 238 | ); |
@@ -260,7 +260,7 @@ | @@ -260,7 +260,7 @@ | ||
260 | inputs[3], | 260 | inputs[3], |
261 | GTK_FILE_CHOOSER_ACTION_SAVE, | 261 | GTK_FILE_CHOOSER_ACTION_SAVE, |
262 | _("Save to session filename"), | 262 | _("Save to session filename"), |
263 | - "document-save", | 263 | + NULL, |
264 | "*.3270", | 264 | "*.3270", |
265 | _("3270 session files") | 265 | _("3270 session files") |
266 | ); | 266 | ); |
src/tools/entry.c
@@ -116,7 +116,11 @@ | @@ -116,7 +116,11 @@ | ||
116 | 116 | ||
117 | void gtk_entry_bind_to_filechooser(GtkWidget *widget, GtkFileChooserAction action, const gchar *title, const gchar *icon_name, const gchar *pattern, const gchar *name) { | 117 | void gtk_entry_bind_to_filechooser(GtkWidget *widget, GtkFileChooserAction action, const gchar *title, const gchar *icon_name, const gchar *pattern, const gchar *name) { |
118 | 118 | ||
119 | - gtk_entry_set_icon_from_icon_name(GTK_ENTRY(widget),GTK_ENTRY_ICON_SECONDARY,icon_name ? icon_name : "document-save"); | 119 | + gtk_entry_set_icon_from_icon_name( |
120 | + GTK_ENTRY(widget), | ||
121 | + GTK_ENTRY_ICON_SECONDARY, | ||
122 | + icon_name ? icon_name : "document-open" | ||
123 | + ); | ||
120 | 124 | ||
121 | // Store data | 125 | // Store data |
122 | gsize szEntry = sizeof(struct FileEntry) + strlen(title) + strlen(pattern) + strlen(name) + 4; | 126 | gsize szEntry = sizeof(struct FileEntry) + strlen(title) + strlen(pattern) + strlen(name) + 4; |