app-chooser-combobox: add a method to trigger the GtkAppChooserDialog

It's an optional special item in the combobox, turned off by default.
This commit is contained in:
Cosimo Cecchi
2010-11-25 17:17:45 +01:00
parent a498d9a9ba
commit 67e842be87
3 changed files with 238 additions and 21 deletions

View File

@ -92,6 +92,9 @@ main (int argc,
special_item_activated_cb,
NULL);
gtk_app_chooser_combo_box_set_show_dialog_item (GTK_APP_CHOOSER_COMBO_BOX (combobox),
TRUE);
/* test refresh on a combo */
gtk_app_chooser_refresh (GTK_APP_CHOOSER (combobox));