]> spindle.queued.net Git - midori/commitdiff
Don't make sensitivity of Clear history depend on the selection
authorChristian Dywan <christian@twotoasts.de>
Fri, 10 Apr 2009 20:29:10 +0000 (22:29 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 10 Apr 2009 20:29:10 +0000 (22:29 +0200)
panels/midori-history.c

index 1bb75fb300288a9c449d8ce84235c600ec437e3e..f528d4d6041f8b589a7354572d165e178f4d3e41 100644 (file)
@@ -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);
     }
 }