summaryrefslogtreecommitdiff
path: root/gtk/gtkappchooserbutton.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-12-01 12:12:03 +0100
committerCosimo Cecchi <cosimoc@gnome.org>2010-12-01 17:04:22 +0100
commit510d65ba08a55cef683a18b56c87a006b3fc6e32 (patch)
tree6ca9e2ef8f8edcd08c381204835673885b657b35 /gtk/gtkappchooserbutton.h
parent9ffd1f7adbda3866d7fe0acaefb5eca8f684724e (diff)
downloadgtk+-510d65ba08a55cef683a18b56c87a006b3fc6e32.tar.gz
app-chooser-button: add gtk_app_chooser_button_set_active_custom_item()
This allows to pre-select a custom item.
Diffstat (limited to 'gtk/gtkappchooserbutton.h')
-rw-r--r--gtk/gtkappchooserbutton.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkappchooserbutton.h b/gtk/gtkappchooserbutton.h
index 61a88b11ce..67fc5de5d5 100644
--- a/gtk/gtkappchooserbutton.h
+++ b/gtk/gtkappchooserbutton.h
@@ -68,6 +68,8 @@ void gtk_app_chooser_button_append_custom_item (GtkAppChooserButton *self
const gchar *name,
const gchar *label,
GIcon *icon);
+void gtk_app_chooser_button_set_active_custom_item (GtkAppChooserButton *self,
+ const gchar *name);
void gtk_app_chooser_button_set_show_dialog_item (GtkAppChooserButton *self,
gboolean setting);