diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-10-07 18:55:01 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-10-07 18:55:01 +0000 |
commit | 429b32fba6f5ad14db31fe2690974b57df858999 (patch) | |
tree | 54970bd752b8dcf957d4a2db09be5678b79f9af4 /src/trg-toolbar.h | |
parent | c3bd3ac55162a88b308a6f700aad88d26cbd5f29 (diff) |
make connect button a menu button with other profiles, also add a connection serial used to discard requests issued before a disconnect which get their callback invoked after a new one is established. add an experimental "repeater" flag on exec commands (eg. %{name}[, ]).
Diffstat (limited to 'src/trg-toolbar.h')
-rw-r--r-- | src/trg-toolbar.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/trg-toolbar.h b/src/trg-toolbar.h index c63d353..5e36503 100644 --- a/src/trg-toolbar.h +++ b/src/trg-toolbar.h @@ -24,6 +24,9 @@ #include <gtk/gtk.h> #include <glib-object.h> +#include "trg-prefs.h" +#include "trg-main-window.h" + G_BEGIN_DECLS #define TRG_TYPE_TOOLBAR trg_toolbar_get_type() #define TRG_TOOLBAR(obj) \ @@ -46,11 +49,11 @@ typedef struct { GType trg_toolbar_get_type(void); -TrgToolbar *trg_toolbar_new(void); +TrgToolbar *trg_toolbar_new(TrgMainWindow *win, TrgPrefs *prefs); G_END_DECLS void trg_toolbar_torrent_actions_sensitive(TrgToolbar * mb, gboolean sensitive); -void trg_toolbar_connected_change(TrgToolbar * mb, gboolean connected); +void trg_toolbar_connected_change(TrgToolbar * tb, gboolean connected); #endif /* TRG_TOOLBAR_H_ */ |