Kaydet (Commit) b05c0a7f authored tarafından Nick Treleaven's avatar Nick Treleaven

Rename dialogs_show_prefs_dialog() to prefs_show_dialog().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1416 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 7ae07014
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
* src/keybindings.c, src/keybindings.h, src/dialogs.c, src/dialogs.h, * src/keybindings.c, src/keybindings.h, src/dialogs.c, src/dialogs.h,
src/callbacks.c: src/callbacks.c:
Move dialogs_show_keyboard_shortcuts() to keybindings.c. Move dialogs_show_keyboard_shortcuts() to keybindings.c.
* src/keybindings.c, src/prefs.c, src/prefs.h, src/callbacks.c,
src/vte.c:
Rename dialogs_show_prefs_dialog() to prefs_show_dialog().
2007-03-22 Enrico Tröger <enrico.troeger@uvena.de> 2007-03-22 Enrico Tröger <enrico.troeger@uvena.de>
......
...@@ -426,7 +426,7 @@ void ...@@ -426,7 +426,7 @@ void
on_preferences1_activate (GtkMenuItem *menuitem, on_preferences1_activate (GtkMenuItem *menuitem,
gpointer user_data) gpointer user_data)
{ {
dialogs_show_prefs_dialog(); prefs_show_dialog();
} }
......
...@@ -478,7 +478,7 @@ void keybindings_show_shortcuts() ...@@ -478,7 +478,7 @@ void keybindings_show_shortcuts()
{ {
GtkWidget *wid; GtkWidget *wid;
dialogs_show_prefs_dialog(); prefs_show_dialog();
// select the KB page // select the KB page
wid = lookup_widget(app->prefs_dialog, "frame22"); wid = lookup_widget(app->prefs_dialog, "frame22");
if (wid != NULL) if (wid != NULL)
......
...@@ -975,7 +975,7 @@ static void on_symbol_auto_completion_toggled(GtkToggleButton *togglebutton, gpo ...@@ -975,7 +975,7 @@ static void on_symbol_auto_completion_toggled(GtkToggleButton *togglebutton, gpo
} }
void dialogs_show_prefs_dialog(void) void prefs_show_dialog(void)
{ {
if (app->prefs_dialog == NULL) if (app->prefs_dialog == NULL)
{ {
......
...@@ -32,7 +32,7 @@ void on_prefs_font_choosed(GtkFontButton *widget, gpointer user_data); ...@@ -32,7 +32,7 @@ void on_prefs_font_choosed(GtkFontButton *widget, gpointer user_data);
void on_prefs_color_choosed(GtkColorButton *widget, gpointer user_data); void on_prefs_color_choosed(GtkColorButton *widget, gpointer user_data);
void dialogs_show_prefs_dialog(void); void prefs_show_dialog(void);
void on_prefs_tools_button_clicked(GtkButton *button, gpointer user_data); void on_prefs_tools_button_clicked(GtkButton *button, gpointer user_data);
......
...@@ -336,7 +336,7 @@ static void vte_popup_menu_clicked(GtkMenuItem *menuitem, gpointer user_data) ...@@ -336,7 +336,7 @@ static void vte_popup_menu_clicked(GtkMenuItem *menuitem, gpointer user_data)
{ {
GtkWidget *notebook; GtkWidget *notebook;
dialogs_show_prefs_dialog(); prefs_show_dialog();
notebook = lookup_widget(app->prefs_dialog, "notebook2"); notebook = lookup_widget(app->prefs_dialog, "notebook2");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment