Changeset 6559 for trunk/gtk/tr-core.c


Ignore:
Timestamp:
Aug 17, 2008, 12:39:26 PM (13 years ago)
Author:
muks
Message:

Don't show an error when transmission is run twice

Instead, present the main window. This commit also auto-generates
the dbus bindings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-core.c

    r6490 r6559  
    4545#include "tr-torrent.h"
    4646#include "util.h"
     47#include "actions.h"
    4748
    4849static void maybeInhibitHibernation( TrCore * core );
     
    786787}
    787788
     789gboolean
     790tr_core_present_window( TrCore      * core UNUSED,
     791                        gboolean    * success,
     792                        GError     ** err UNUSED )
     793{
     794    action_activate( "present-main-window" );
     795    *success = TRUE;
     796    return TRUE;
     797}
     798
    788799void
    789800tr_core_add_list( TrCore      * core,
Note: See TracChangeset for help on using the changeset viewer.