diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-05-31 06:39:33 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-05-31 06:39:33 +0800 |
commit | 30457fd1bc79dfc4e2fc36a165de0abf1b1d5b77 (patch) | |
tree | 4c3571bc4f1ddd368bc3fd52ca29edeb01f8773b /src/ephy-window.c | |
parent | da1e2abce4ee3f0d619dfb99573ecc563c266cdd (diff) | |
download | gsoc2013-epiphany-30457fd1bc79dfc4e2fc36a165de0abf1b1d5b77.tar gsoc2013-epiphany-30457fd1bc79dfc4e2fc36a165de0abf1b1d5b77.tar.gz gsoc2013-epiphany-30457fd1bc79dfc4e2fc36a165de0abf1b1d5b77.tar.bz2 gsoc2013-epiphany-30457fd1bc79dfc4e2fc36a165de0abf1b1d5b77.tar.lz gsoc2013-epiphany-30457fd1bc79dfc4e2fc36a165de0abf1b1d5b77.tar.xz gsoc2013-epiphany-30457fd1bc79dfc4e2fc36a165de0abf1b1d5b77.tar.zst gsoc2013-epiphany-30457fd1bc79dfc4e2fc36a165de0abf1b1d5b77.zip |
Work around mozilla bug
2005-05-31 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-notebook.c: (ephy_notebook_move_tab),
(move_tab_to_another_notebook), (button_release_cb):
* src/ephy-window.c: (update_tabs_menu_sensitivity):
Work around mozilla bug
https://bugzilla.mozilla.org/show_bug.cgi?id=296002 by disallowing
tabs moves to a different window. Bug #303922.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 6b11fd299..8d85d0db1 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -390,6 +390,9 @@ static const struct #define BOOKMARKS_MENU_PATH "/menubar/BookmarksMenu" +/* Until https://bugzilla.mozilla.org/show_bug.cgi?id=296002 is fixed */ +#define KEEP_TAB_IN_SAME_TOPLEVEL + #define EPHY_WINDOW_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_WINDOW, EphyWindowPrivate)) struct _EphyWindowPrivate @@ -2010,6 +2013,9 @@ update_tabs_menu_sensitivity (EphyWindow *window) gtk_action_set_sensitive (action, move_right); action = gtk_action_group_get_action (action_group, "TabsDetach"); ephy_action_change_sensitivity_flags (action, SENS_FLAG_CHROME, !detach); +#ifdef KEEP_TAB_IN_SAME_TOPLEVEL + gtk_action_set_visible (action, FALSE); +#endif } static gboolean |