2 * This file Copyright (C) 2007-2010 Mnemosyne LLC
4 * This file is licensed by the GPL version 2. Works owned by the
5 * Transmission project are granted a special exemption to clause 2(b)
6 * so that the bulk of its code can remain under the MIT license.
7 * This exemption does not extend to derived works not owned by
8 * the Transmission project.
10 * $Id: actions.h 9989 2010-01-21 20:51:48Z charles $
19 #define WINDOW_ICON "transmission-main-window-icon"
20 #define TRAY_ICON "transmission-tray-icon"
21 #define NOTIFICATION_ICON "transmission-notification-icon"
24 void actions_init( GtkUIManager
* ui_manager
,
25 gpointer callback_user_data
);
27 void actions_set_core( TrCore
* core
);
29 void action_activate( const char * name
);
31 void action_sensitize( const char * name
,
34 void action_toggle( const char * name
,
37 void action_set_important( const char * name
, gboolean b
);
40 GtkWidget
* action_get_widget( const char * path
);
42 void doAction( const char * action_name
,