]> spindle.queued.net Git - midori/commitdiff
Make Xfce headers look like the real thing
authorNick Schermer <nick@xfce.org>
Fri, 9 Jan 2009 22:59:39 +0000 (23:59 +0100)
committerChristian Dywan <christian@twotoasts.de>
Fri, 9 Jan 2009 22:59:39 +0000 (23:59 +0100)
midori/sokoke.c

index 84903b3a5b5da4f9385f4167505d8be4f9bfe1d6..861a3b5e6fbbd2e724db0158155c4acdb038fb54 100644 (file)
@@ -300,6 +300,8 @@ sokoke_xfce_header_new (const gchar* icon,
         GtkWidget* hbox;
         GtkWidget* image;
         GtkWidget* label;
+        GtkWidget* vbox;
+        GtkWidget* separator;
 
         xfce_heading = gtk_event_box_new ();
         entry = gtk_entry_new ();
@@ -323,7 +325,14 @@ sokoke_xfce_header_new (const gchar* icon,
         gtk_container_add (GTK_CONTAINER (xfce_heading), hbox);
         g_free (markup);
         gtk_widget_destroy (entry);
-        return xfce_heading;
+
+        vbox = gtk_vbox_new (FALSE, 0);
+        gtk_box_pack_start (GTK_BOX (vbox), xfce_heading, FALSE, FALSE, 0);
+
+        separator = gtk_hseparator_new ();
+        gtk_box_pack_start (GTK_BOX (vbox), separator, FALSE, FALSE, 0);
+
+        return vbox;
     }
     return NULL;
 }