forked from AuroraMiddleware/gtk
appchooserdialog: use new GLib API to modify positioning
The dialog will always show up with the last selected application.
This commit is contained in:
parent
183bf8ac9d
commit
a5fe3fef7b
@ -38,7 +38,7 @@ AC_CONFIG_MACRO_DIR([m4])
|
||||
m4_define([gtk_binary_version], [3.0.0])
|
||||
|
||||
# required versions of other packages
|
||||
m4_define([glib_required_version], [2.27.3])
|
||||
m4_define([glib_required_version], [2.27.5])
|
||||
m4_define([pango_required_version], [1.20])
|
||||
m4_define([atk_required_version], [1.29.2])
|
||||
m4_define([cairo_required_version], [1.10.0])
|
||||
|
@ -234,9 +234,9 @@ add_or_find_application (GtkAppChooserDialog *self)
|
||||
app = gtk_app_chooser_get_app_info (GTK_APP_CHOOSER (self));
|
||||
|
||||
/* we don't care about reporting errors here */
|
||||
g_app_info_add_supports_type (app,
|
||||
self->priv->content_type,
|
||||
NULL);
|
||||
g_app_info_set_as_last_used_for_type (app,
|
||||
self->priv->content_type,
|
||||
NULL);
|
||||
|
||||
g_object_unref (app);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user