summaryrefslogtreecommitdiff
path: root/src/trg-main-window.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-01-30 23:52:56 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-01-30 23:52:56 +0000
commite6ca20c69a092dd7d97d05927a02bcd385d7f898 (patch)
tree65cf9eb1cb097b22a1bc4b65553cf8c9e80a024d /src/trg-main-window.c
parente7a008aeed65e06d9e17dcc5e98121012540e3a2 (diff)
copy of transmission svg icon, in/out logging with -DDEBUG only
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r--src/trg-main-window.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index c03c77d..ad602ac 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -36,6 +36,9 @@
#include "trg-client.h"
#include "http.h"
#include "json.h"
+#include "util.h"
+#include "requests.h"
+#include "session-get.h"
#include "trg-main-window.h"
#include "trg-about-window.h"
@@ -56,11 +59,7 @@
#include "trg-menu-bar.h"
#include "trg-status-bar.h"
#include "trg-remote-prefs-dialog.h"
-
-#include "util.h"
-#include "requests.h"
#include "trg-preferences-dialog.h"
-#include "session-get.h"
/* Events */
@@ -1278,7 +1277,7 @@ static GObject *trg_main_window_constructor(GType type,
NULL);
gtk_window_set_icon_from_file
- (GTK_WINDOW(self), WINDOW_ICON_FILE, &iconError);
+ (GTK_WINDOW(self), TRG_WINDOW_ICON, &iconError);
if (iconError != NULL) {
g_printf("setting icon failed: %s\n", iconError->message);
@@ -1378,7 +1377,7 @@ static GObject *trg_main_window_constructor(GType type,
priv->notebook = trg_main_window_notebook_new(self);
gtk_paned_pack2(GTK_PANED(priv->vpaned), priv->notebook, FALSE, FALSE);
- priv->statusIcon = gtk_status_icon_new_from_file(WINDOW_ICON_FILE);
+ priv->statusIcon = gtk_status_icon_new_from_file(TRG_WINDOW_ICON);
gtk_status_icon_set_screen(priv->statusIcon,
gtk_window_get_screen(GTK_WINDOW(self)));
g_signal_connect(priv->statusIcon, "activate",