Merge lp:~cavalier/midori/show-combobox_folder into lp:midori
Proposed by
Peter de Ridder
Status: | Merged |
---|---|
Approved by: | André Stösel |
Approved revision: | 6346 |
Merged at revision: | 6352 |
Proposed branch: | lp:~cavalier/midori/show-combobox_folder |
Merge into: | lp:midori |
Diff against target: |
16 lines (+2/-2) 1 file modified
midori/midori-browser.c (+2/-2) |
To merge this branch: | bzr merge lp:~cavalier/midori/show-combobox_folder |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
André Stösel | Approve | ||
André Auzi | Abstain | ||
Review via email:
|
Commit message
Show the bookmarks import location combobox.
To post a comment you must log in.
The change works.
It may had been achieved by just moving the "gtk_widget_ show_all" and changing its parameter.
It would had become:
gtk_ container_ add (GTK_CONTAINER (content_area), hbox);
/* REMOVE THIS : gtk_widget_show_all (hbox); */
combobox_folder = midori_ bookmark_ folder_ button_ new (browser- >bookmarks, 0); container_ add (GTK_CONTAINER (content_area), combobox_folder);
gtk_
/* INSERT THIS */ widget_ show_all (content_area);
gtk_
This way the content_area is used consistently over the dialog creation and one preserves the defaut pack settings of dialog boxes which may become different from the one forced by the replacement of "gtk_container_add" by:
gtk_ box_pack_ start (GTK_BOX (content_area), combobox_folder, FALSE, TRUE, 0);