mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
(trunk gtk) general cleanup to make function's naming scheme and API more consistent. This is only a fraction of what the GTK+ client's codebase needs, unfortunately.
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef TR_ACTIONS_H
|
||||
#define TR_ACTIONS_H
|
||||
#ifndef GTR_ACTIONS_H
|
||||
#define GTR_ACTIONS_H
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include "tr-core.h"
|
||||
@@ -21,25 +21,14 @@
|
||||
#define NOTIFICATION_ICON "transmission-notification-icon"
|
||||
|
||||
|
||||
void actions_init( GtkUIManager * ui_manager,
|
||||
gpointer callback_user_data );
|
||||
void gtr_actions_init( GtkUIManager * ui_manager, gpointer callback_user_data );
|
||||
void gtr_actions_set_core( TrCore * core );
|
||||
void gtr_actions_handler( const char * action_name, gpointer user_data );
|
||||
|
||||
void actions_set_core( TrCore * core );
|
||||
|
||||
void action_activate( const char * name );
|
||||
|
||||
void action_sensitize( const char * name,
|
||||
gboolean b );
|
||||
|
||||
void action_toggle( const char * name,
|
||||
gboolean b );
|
||||
|
||||
void action_set_important( const char * name, gboolean b );
|
||||
|
||||
|
||||
GtkWidget* action_get_widget( const char * path );
|
||||
|
||||
void doAction( const char * action_name,
|
||||
gpointer user_data );
|
||||
void gtr_action_activate ( const char * action_name );
|
||||
void gtr_action_set_sensitive ( const char * action_name, gboolean is_sensitive );
|
||||
void gtr_action_set_toggled ( const char * action_name, gboolean is_toggled );
|
||||
void gtr_action_set_important ( const char * action_name, gboolean is_important );
|
||||
GtkWidget* gtr_action_get_widget ( const char * path );
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user