Last change
on this file was
14724,
checked in by jordan, 6 years ago
|
use '#pragma once' instead of #ifndef..#define..#endif guards
|
-
Property svn:keywords set to
Date Rev Author Id
|
File size:
1005 bytes
|
Line | |
---|
1 | /* |
---|
2 | * This file Copyright (C) 2007-2014 Mnemosyne LLC |
---|
3 | * |
---|
4 | * It may be used under the GNU GPL versions 2 or 3 |
---|
5 | * or any future license endorsed by Mnemosyne LLC. |
---|
6 | * |
---|
7 | * $Id: actions.h 14724 2016-03-29 16:37:21Z mikedld $ |
---|
8 | */ |
---|
9 | |
---|
10 | #pragma once |
---|
11 | |
---|
12 | #include <gtk/gtk.h> |
---|
13 | #include "tr-core.h" |
---|
14 | |
---|
15 | #define WINDOW_ICON "transmission-main-window-icon" |
---|
16 | #define TRAY_ICON "transmission-tray-icon" |
---|
17 | #define NOTIFICATION_ICON "transmission-notification-icon" |
---|
18 | |
---|
19 | |
---|
20 | void gtr_actions_init (GtkUIManager * ui_manager, gpointer callback_user_data); |
---|
21 | void gtr_actions_set_core (TrCore * core); |
---|
22 | void gtr_actions_handler (const char * action_name, gpointer user_data); |
---|
23 | |
---|
24 | void gtr_action_activate (const char * action_name); |
---|
25 | void gtr_action_set_sensitive (const char * action_name, gboolean is_sensitive); |
---|
26 | void gtr_action_set_toggled (const char * action_name, gboolean is_toggled); |
---|
27 | void gtr_action_set_important (const char * action_name, gboolean is_important); |
---|
28 | GtkWidget* gtr_action_get_widget (const char * path); |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.