diff options
author | Peter Harvey <peter.a.harvey@gmail.com> | 2006-02-21 21:44:16 +0800 |
---|---|---|
committer | Peter Anthony Harvey <paharvey@src.gnome.org> | 2006-02-21 21:44:16 +0800 |
commit | c66ab87ed9b35bfafa1ad6aba79419d153e29de7 (patch) | |
tree | b79583242bc9e7387724f658f061fb687c0bc8fb /src/ephy-window.c | |
parent | 6dd4bf1e1ebfee184ebfa38781ab6418c42e652a (diff) | |
download | gsoc2013-epiphany-c66ab87ed9b35bfafa1ad6aba79419d153e29de7.tar.gz gsoc2013-epiphany-c66ab87ed9b35bfafa1ad6aba79419d153e29de7.tar.zst gsoc2013-epiphany-c66ab87ed9b35bfafa1ad6aba79419d153e29de7.zip |
data/ui/epiphany-fs-toolbar.xml lib/egg/egg-toolbars-model.c
2006-02-21 Peter Harvey <peter.a.harvey@gmail.com>
* data/ui/epiphany-fs-toolbar.xml
* lib/egg/egg-toolbars-model.c
* lib/egg/egg-toolbars-model.h
Added "editable" attribute for toolbars.
* data/ui/epiphany-ui.xml
* lib/egg/egg-editable-toolbar.c
* lib/egg/egg-editable-toolbar.h
* src/ephy-toolbar.c
* src/ephy-window.c
Many improvements to toolbar menus. Includes
changes to show visibility toggles in multiple
locations.
* lib/ephy-stock-icons.c
* lib/ephy-stock-icons.h
Additional stock icon for drag and drop.
* src/bookmarks/ephy-bookmarks-ui.c
Make 'customize toolbar' invisible when editing.
* src/ephy-shell.c
Mark the full-screen toolbar as non-removable.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 06e0767c3..0bddd0f2c 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -280,9 +280,9 @@ static const GtkToggleActionEntry ephy_menu_toggle_entries [] = /* View Menu */ - { "ViewToolbar", NULL, N_("_Show Toolbars"), "<shift><control>T", + { "ViewToolbar", NULL, N_("_Hide Toolbars"), "<shift><control>T", N_("Show or hide toolbar"), - G_CALLBACK (ephy_window_view_toolbar_cb), TRUE }, + G_CALLBACK (ephy_window_view_toolbar_cb), FALSE }, { "ViewStatusbar", NULL, N_("St_atusbar"), NULL, N_("Show or hide statusbar"), G_CALLBACK (ephy_window_view_statusbar_cb), TRUE }, @@ -674,7 +674,7 @@ ephy_window_fullscreen (EphyWindow *window) ephy_toolbar_set_show_leave_fullscreen (window->priv->toolbar, !lockdown_fs); - + sync_chromes_visibility (window); } @@ -1228,7 +1228,7 @@ update_chromes_actions (EphyWindow *window) g_signal_handlers_block_by_func (G_OBJECT (action), G_CALLBACK (ephy_window_view_toolbar_cb), window); - gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), show_toolbar); + gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), !show_toolbar); g_signal_handlers_unblock_by_func (G_OBJECT (action), G_CALLBACK (ephy_window_view_toolbar_cb), window); @@ -3652,8 +3652,8 @@ sync_chrome_with_view_toggle (GtkAction *action, EphyWindow *window, gboolean active; active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); - window->priv->chrome = active ? window->priv->chrome | chrome_flag : - window->priv->chrome & (~chrome_flag); + window->priv->chrome = active ? window->priv->chrome & (~chrome_flag) : + window->priv->chrome | chrome_flag; sync_chromes_visibility (window); sync_prefs_with_chrome (window); |