From: Christian Dywan Date: Fri, 10 Apr 2009 20:29:10 +0000 (+0200) Subject: Don't make sensitivity of Clear history depend on the selection X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e0e362a8e120f7176cf2e44fca1a62d77a7f72d;p=midori Don't make sensitivity of Clear history depend on the selection --- diff --git a/panels/midori-history.c b/panels/midori-history.c index 1bb75fb3..f528d4d6 100644 --- a/panels/midori-history.c +++ b/panels/midori-history.c @@ -189,7 +189,6 @@ midori_history_cursor_or_row_changed_cb (GtkTreeView* treeview, is_page = !KATZE_IS_ARRAY (item) && katze_item_get_uri (item); gtk_widget_set_sensitive (history->bookmark, is_page); gtk_widget_set_sensitive (history->delete, TRUE); - gtk_widget_set_sensitive (history->clear, TRUE); g_object_unref (item); } @@ -197,7 +196,6 @@ midori_history_cursor_or_row_changed_cb (GtkTreeView* treeview, { gtk_widget_set_sensitive (history->bookmark, FALSE); gtk_widget_set_sensitive (history->delete, FALSE); - gtk_widget_set_sensitive (history->clear, FALSE); } }