[Xfce4-commits] <midori:master> Match appearence of history and bookmark search

Christian Dywan noreply at xfce.org
Mon Jul 5 00:14:02 CEST 2010


Updating branch refs/heads/master
         to 7f4c4ad2877d382feeb7d3e4339588d4589ffb62 (commit)
       from 8c784e7486523e5b3008d1abf2c8f3b25b6a3f7f (commit)

commit 7f4c4ad2877d382feeb7d3e4339588d4589ffb62
Author: Alexander Butenko <a.butenka at gmail.com>
Date:   Sat Jul 3 01:49:29 2010 -0400

    Match appearence of history and bookmark search

 panels/midori-history.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/panels/midori-history.c b/panels/midori-history.c
index f8b0fe2..2a92469 100644
--- a/panels/midori-history.c
+++ b/panels/midori-history.c
@@ -39,7 +39,7 @@ midori_browser_edit_bookmark_dialog_new (MidoriBrowser* browser,
     #include <sqlite3.h>
 #endif
 
-#define COMPLETION_DELAY 150
+#define COMPLETION_DELAY 200
 
 struct _MidoriHistory
 {
@@ -940,9 +940,14 @@ midori_history_init (MidoriHistory* history)
     /* Create the filter entry */
     entry = gtk_icon_entry_new ();
     gtk_icon_entry_set_icon_from_stock (GTK_ICON_ENTRY (entry),
-        GTK_ICON_ENTRY_SECONDARY, GTK_STOCK_CLEAR);
+                                        GTK_ICON_ENTRY_PRIMARY,
+                                        GTK_STOCK_FIND);
+    gtk_icon_entry_set_icon_from_stock (GTK_ICON_ENTRY (entry),
+                                        GTK_ICON_ENTRY_SECONDARY,
+                                        GTK_STOCK_CLEAR);
     gtk_icon_entry_set_icon_highlight (GTK_ICON_ENTRY (entry),
-        GTK_ICON_ENTRY_SECONDARY, TRUE);
+                                       GTK_ICON_ENTRY_SECONDARY,
+                                       TRUE);
     g_signal_connect (entry, "icon-release",
         G_CALLBACK (midori_history_filter_entry_clear_cb), history);
     #if HAVE_SQLITE
@@ -950,7 +955,6 @@ midori_history_init (MidoriHistory* history)
         G_CALLBACK (midori_history_filter_entry_changed_cb), history);
     #endif
     box = gtk_hbox_new (FALSE, 0);
-    gtk_box_pack_start (GTK_BOX (box), gtk_label_new (_("Filter:")), FALSE, FALSE, 3);
     gtk_box_pack_start (GTK_BOX (box), entry, TRUE, TRUE, 3);
     gtk_widget_show_all (box);
     gtk_box_pack_start (GTK_BOX (history), box, FALSE, FALSE, 5);



More information about the Xfce4-commits mailing list