filechooser: Add gtk_file_chooser_get_current_name()
Currently you can only set the current filename, but not get it. It's useful to be able to get it in save dialogs, where the user has typed the desired filename and you are not in a real directory (recent used, for example). https://bugzilla.gnome.org/show_bug.cgi?id=702497
This commit is contained in:
committed by
Federico Mena Quintero
parent
159cccfe7b
commit
84b4910b39
@ -153,8 +153,10 @@ gboolean gtk_file_chooser_get_create_folders (GtkFileChooser *choose
|
||||
/* Suggested name for the Save-type actions
|
||||
*/
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_file_chooser_set_current_name (GtkFileChooser *chooser,
|
||||
const gchar *name);
|
||||
void gtk_file_chooser_set_current_name (GtkFileChooser *chooser,
|
||||
const gchar *name);
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
gchar *gtk_file_chooser_get_current_name (GtkFileChooser *chooser);
|
||||
|
||||
/* Filename manipulation
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user