diff options
author | portix <portix@gmx.net> | 2012-02-12 16:34:32 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2012-02-12 16:34:32 +0100 |
commit | 0029950026c8499947d0f0b992c05262e432b52c (patch) | |
tree | c7e9d7effcb763ca702f6270d2d7543a4c5e976f /src/util.c | |
parent | 01673ff072f7257824ec564374600e31d5ed554d (diff) | |
download | dwb-0029950026c8499947d0f0b992c05262e432b52c.zip |
New commands tab_move, tab_move_left, tab_move_right
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -661,8 +661,11 @@ util_file_add_navigation(const char *filename, const Navigation *n, int append, }/*}}}*/ void -gtk_box_insert(GtkBox *box, GtkWidget *child, gboolean expand, gboolean fill, gint padding, int position) { - gtk_box_pack_start(box, child, expand, fill, padding); +gtk_box_insert(GtkBox *box, GtkWidget *child, gboolean expand, gboolean fill, gint padding, int position, GtkPackType packtype) { + if (packtype == GTK_PACK_START) + gtk_box_pack_start(box, child, expand, fill, padding); + else + gtk_box_pack_end(box, child, expand, fill, padding); gtk_box_reorder_child(box, child, position); } void |