diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-01-27 22:51:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-01-27 22:51:43 (GMT) |
commit | 7640b28691817aea89fc5a5dd5e74fd0b40c516f (patch) | |
tree | 5b8dc6b6746575fb4bbfcefff36fc9af5f6a2c17 /src/gui/panels | |
parent | 56b84c3624c59c8a1796bf411b7ba950d12ddfc5 (diff) |
Made the menu bar appear and disappear in the same way Firefox does.
Diffstat (limited to 'src/gui/panels')
-rw-r--r-- | src/gui/panels/bookmarks.c | 2 | ||||
-rw-r--r-- | src/gui/panels/regedit.c | 2 | ||||
-rw-r--r-- | src/gui/panels/strings.c | 2 | ||||
-rw-r--r-- | src/gui/panels/welcome.c | 6 |
4 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/panels/bookmarks.c b/src/gui/panels/bookmarks.c index b58fbc5..5eb018b 100644 --- a/src/gui/panels/bookmarks.c +++ b/src/gui/panels/bookmarks.c @@ -1098,7 +1098,7 @@ static GtkMenu *build_bookmarks_panel_menu(GBookmarksPanel *panel) GtkWidget *result; /* Support à retourner */ GtkWidget *submenuitem; /* Sous-élément de menu */ - result = gtk_menu_new(); + result = qck_create_menu(NULL); submenuitem = qck_create_menu_item(NULL, NULL, _("Edit"), G_CALLBACK(mcb_bookmarks_panel_edit), panel); gtk_container_add(GTK_CONTAINER(result), submenuitem); diff --git a/src/gui/panels/regedit.c b/src/gui/panels/regedit.c index 65b268e..579c60b 100644 --- a/src/gui/panels/regedit.c +++ b/src/gui/panels/regedit.c @@ -913,7 +913,7 @@ GtkMenu *build_param_panel_menu(GRegeditPanel *panel) GtkWidget *result; /* Support à retourner */ GtkWidget *submenuitem; /* Sous-élément de menu */ - result = gtk_menu_new(); + result = qck_create_menu(NULL); submenuitem = qck_create_menu_item(NULL, NULL, _("Copy the name"), G_CALLBACK(mcb_param_panel_copy), panel); gtk_container_add(GTK_CONTAINER(result), submenuitem); diff --git a/src/gui/panels/strings.c b/src/gui/panels/strings.c index da7f539..60c53f4 100644 --- a/src/gui/panels/strings.c +++ b/src/gui/panels/strings.c @@ -873,7 +873,7 @@ static GtkMenu *build_strings_panel_menu(GStringsPanel *panel) GtkWidget *result; /* Support à retourner */ GtkWidget *submenuitem; /* Sous-élément de menu */ - result = gtk_menu_new(); + result = qck_create_menu(NULL); submenuitem = qck_create_menu_item(NULL, NULL, _("_Edit name"), NULL, NULL); gtk_container_add(GTK_CONTAINER(result), submenuitem); diff --git a/src/gui/panels/welcome.c b/src/gui/panels/welcome.c index a007f38..a831a6c 100644 --- a/src/gui/panels/welcome.c +++ b/src/gui/panels/welcome.c @@ -378,7 +378,11 @@ static void g_welcome_panel_load_tips(GWelcomePanel *panel) "Then run the interpreter suitable to your configuration (debug or release):\n\n" " python3-dbg -c 'import pychrysalide ; print(pychrysalide.mod_version())'"), - _("All the configuration files for Chrysalide are located in $HOME/.config/chrysalide/.") + _("All the configuration files for Chrysalide are located in $HOME/.config/chrysalide/."), + + _("The behavior of the main menu bar is copied from the one of a well known browser " + "with a fox mascot.\n\n" + "To make the menu bar appear and disappear, juste press and release the Alt key.") }; |