diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-automation.c | 5 | ||||
-rw-r--r-- | src/ephy-encoding-menu.c | 6 | ||||
-rw-r--r-- | src/ephy-shell.c | 6 | ||||
-rw-r--r-- | src/ephy-window.c | 2 |
4 files changed, 16 insertions, 3 deletions
diff --git a/src/ephy-automation.c b/src/ephy-automation.c index d7757fe75..75829d444 100644 --- a/src/ephy-automation.c +++ b/src/ephy-automation.c @@ -135,6 +135,11 @@ impl_ephy_automation_loadurl (PortableServer_Servant _servant, flags |= EPHY_NEW_TAB_IN_EXISTING_WINDOW; } + if (fullscreen) + { + flags |= EPHY_NEW_TAB_FULLSCREEN; + } + ephy_shell_new_tab (ephy_shell, window, NULL, load_page, flags); diff --git a/src/ephy-encoding-menu.c b/src/ephy-encoding-menu.c index 95b3ed050..b97011bac 100644 --- a/src/ephy-encoding-menu.c +++ b/src/ephy-encoding-menu.c @@ -27,6 +27,8 @@ #include "ephy-shell.h" #include "ephy-debug.h" +#include <libgnome/gnome-i18n.h> + /** * Private data */ @@ -188,7 +190,7 @@ build_group (EggActionGroup *action_group, GString *xml_string, const char *grou action = g_object_new (EGG_TYPE_ACTION, "name", verb, - "label", group, + "label", _(group), NULL); egg_action_group_add_action (action_group, action); g_object_unref (action); @@ -214,7 +216,7 @@ build_charset (EggActionGroup *action_group, verb = g_strdup_printf ("Charset%d", index); action = g_object_new (EGG_TYPE_ACTION, "name", verb, - "label", info->title, + "label", _(info->title), NULL); g_signal_connect_closure (action, "activate", diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 6f5ca6445..69af9e562 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -523,6 +523,12 @@ ephy_shell_new_tab (EphyShell *shell, ephy_embed_load_url (embed, url); } + if (flags & EPHY_NEW_TAB_FULLSCREEN) + { + ephy_window_set_chrome (window, EMBED_CHROME_OPENASFULLSCREEN | + EMBED_CHROME_DEFAULT); + } + return tab; } diff --git a/src/ephy-window.c b/src/ephy-window.c index 6d313b298..37a1ead9f 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -36,7 +36,6 @@ #include "statusbar.h" #include "toolbar.h" #include "popup-commands.h" -#include "egg-toggle-action.h" #include "ephy-encoding-menu.h" #include "ephy-stock-icons.h" @@ -51,6 +50,7 @@ #include <gdk/gdkkeysyms.h> #include "egg-action-group.h" #include "egg-menu-merge.h" +#include "egg-toggle-action.h" static EggActionGroupEntry ephy_menu_entries [] = { |