source: trunk/gtk/actions.h @ 7404

Last change on this file since 7404 was 7404, checked in by charles, 13 years ago

updated email address

  • Property svn:keywords set to Date Rev Author Id
File size: 1.0 KB
Line 
1/*
2 * This file Copyright (C) 2007-2008 Charles Kerr <charles@transmissionbt.com>
3 *
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.
9 *
10 * $Id: actions.h 7404 2008-12-16 00:20:44Z charles $
11 */
12
13#ifndef TR_ACTIONS_H
14#define TR_ACTIONS_H
15
16#include <gtk/gtk.h>
17#include "tr-core.h"
18
19void       actions_init( GtkUIManager * ui_manager,
20                         gpointer       callback_user_data );
21
22void       actions_set_core( TrCore * core );
23
24void       action_activate( const char * name );
25
26void       action_sensitize( const char * name,
27                             gboolean     b );
28
29void       action_toggle( const char * name,
30                          gboolean     b );
31
32GtkWidget* action_get_widget( const char * path );
33
34void       doAction( const char * action_name,
35                     gpointer     user_data );
36
37#endif
Note: See TracBrowser for help on using the repository browser.