diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-07-01 18:11:15 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-07-01 18:11:15 +0800 |
commit | dbded0c3e46fa3126019e14f025cfb4d0d3598ad (patch) | |
tree | 88f9ae09665159001485d7838badfe08575738e4 | |
parent | 14c2f5ec0db32d2c9c08cb4a5af0edb210968de5 (diff) | |
download | gsoc2013-epiphany-dbded0c3e46fa3126019e14f025cfb4d0d3598ad.tar gsoc2013-epiphany-dbded0c3e46fa3126019e14f025cfb4d0d3598ad.tar.gz gsoc2013-epiphany-dbded0c3e46fa3126019e14f025cfb4d0d3598ad.tar.bz2 gsoc2013-epiphany-dbded0c3e46fa3126019e14f025cfb4d0d3598ad.tar.lz gsoc2013-epiphany-dbded0c3e46fa3126019e14f025cfb4d0d3598ad.tar.xz gsoc2013-epiphany-dbded0c3e46fa3126019e14f025cfb4d0d3598ad.tar.zst gsoc2013-epiphany-dbded0c3e46fa3126019e14f025cfb4d0d3598ad.zip |
Do not show the icon for smartbookmarks
2004-07-01 Marco Pesenti Gritti <marco@gnome.org>
* src/bookmarks/ephy-bookmark-action.c:
(ephy_bookmark_action_sync_smart_url):
Do not show the icon for smartbookmarks
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmark-action.c | 5 |
2 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,12 @@ 2004-07-01 Marco Pesenti Gritti <marco@gnome.org> + * src/bookmarks/ephy-bookmark-action.c: + (ephy_bookmark_action_sync_smart_url): + + Do not show the icon for smartbookmarks + +2004-07-01 Marco Pesenti Gritti <marco@gnome.org> + * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): Do not allow dragging out of edit mode on ITEMS_ONLY toolbars. diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c index 3921d4fcf..21b094bae 100644 --- a/src/bookmarks/ephy-bookmark-action.c +++ b/src/bookmarks/ephy-bookmark-action.c @@ -157,18 +157,21 @@ ephy_bookmark_action_sync_smart_url (GtkAction *action, GParamSpec *pspec, GtkWi { if (GTK_IS_TOOL_ITEM (proxy)) { - GtkWidget *entry; + GtkWidget *entry, *icon; gboolean smart_url; smart_url = EPHY_BOOKMARK_ACTION (action)->priv->smart_url; entry = GTK_WIDGET (g_object_get_data (G_OBJECT (proxy), "entry")); + icon = GTK_WIDGET (g_object_get_data (G_OBJECT (proxy), "icon")); if (smart_url) { + gtk_widget_hide (icon); gtk_widget_show (entry); } else { + gtk_widget_show (icon); gtk_widget_hide (entry); } } |