Revert "transmission: update from 2.13 to 2.22"
[tomato.git] / release / src / router / transmission / gtk / actions.h
blob98a89cc515891cadc5a1508b0fdd9ec1b1c68262
1 /*
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 $
13 #ifndef TR_ACTIONS_H
14 #define TR_ACTIONS_H
16 #include <gtk/gtk.h>
17 #include "tr-core.h"
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,
32 gboolean b );
34 void action_toggle( const char * name,
35 gboolean b );
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,
43 gpointer user_data );
45 #endif