~midori/midori/valaDocs

« back to all changes in this revision

Viewing changes to midori/midori-frontend.c

  • Committer: RabbitBot
  • Author(s): Christian Dywan, Paweł Forysiuk
  • Date: 2014-02-25 20:00:47 UTC
  • mfrom: (6558.3.29 midori.openWith)
  • Revision ID: rabbitbot-20140225200047-cez210ga77i1i695
Implement Open With extension dealing with file types

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
 
240
240
    /* FIXME need proper stock extension mechanism */
241
241
    midori_browser_activate_action (browser, "libtransfers." G_MODULE_SUFFIX "=true");
 
242
    midori_browser_activate_action (browser, "libopen-with." G_MODULE_SUFFIX "=true");
242
243
    g_assert (g_module_error () == NULL);
243
244
 
244
245
    return browser;
301
302
                              gchar*     crash_log)
302
303
{
303
304
    GError* error = NULL;
304
 
    if (!sokoke_show_uri (gtk_widget_get_screen (button), crash_log, 0, &error))
 
305
    if (!gtk_show_uri (gtk_widget_get_screen (button), crash_log, 0, &error))
305
306
    {
306
307
        sokoke_message_dialog (GTK_MESSAGE_ERROR,
307
308
                               _("Could not run external program."),