Use gtk_window_present() instead of gtk_widget_show() for Open File and Preferences dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2569 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
ef8ffb8872
commit
79df8d0c8d
@ -1,3 +1,10 @@
|
|||||||
|
2008-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
|
||||||
|
* src/dialogs.c, src/prefs.c:
|
||||||
|
Use gtk_window_present() instead of gtk_widget_show() for Open File
|
||||||
|
and Preferences dialog.
|
||||||
|
|
||||||
|
|
||||||
2008-05-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
2008-05-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||||
|
|
||||||
* src/interface.c, src/prefs.c, src/callbacks.c, src/callbacks.h,
|
* src/interface.c, src/prefs.c, src/callbacks.c, src/callbacks.h,
|
||||||
|
|||||||
@ -272,7 +272,7 @@ void dialogs_show_open_file()
|
|||||||
}
|
}
|
||||||
|
|
||||||
gtk_file_chooser_unselect_all(GTK_FILE_CHOOSER(ui_widgets.open_filesel));
|
gtk_file_chooser_unselect_all(GTK_FILE_CHOOSER(ui_widgets.open_filesel));
|
||||||
gtk_widget_show(ui_widgets.open_filesel);
|
gtk_window_present(GTK_WINDOW(ui_widgets.open_filesel));
|
||||||
#endif
|
#endif
|
||||||
g_free(initdir);
|
g_free(initdir);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1483,7 +1483,7 @@ void prefs_show_dialog(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
prefs_init_dialog();
|
prefs_init_dialog();
|
||||||
gtk_widget_show(ui_widgets.prefs_dialog);
|
gtk_window_present(GTK_WINDOW(ui_widgets.prefs_dialog));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user