Make Xfce headers look like the real thing
This commit is contained in:
parent
b6e33e5399
commit
626c5c904f
1 changed files with 10 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue