summaryrefslogtreecommitdiff
path: root/src/trg-main-window.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-12-23 11:10:49 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-12-23 11:10:49 +0000
commit408179693ea842150b469cf2f88eea9434d19698 (patch)
treef8583ccb507aeefbc2fd2735564309c3983caec7 /src/trg-main-window.c
parent268d1f5297c5b243f3045e8d1aae0feef3df13a7 (diff)
"turtle" mode in the status bar. for easy activation of alternative speed limits.
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r--src/trg-main-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index 6db4e19..2e45d52 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -52,6 +52,7 @@
#include "remote-exec.h"
#include "trg-main-window.h"
+#include "trg-icons.h"
#include "trg-about-window.h"
#include "trg-tree-view.h"
#include "trg-prefs.h"
@@ -2345,6 +2346,7 @@ static GObject *trg_main_window_constructor(GType type,
prefs = trg_client_get_prefs(priv->client);
theme = gtk_icon_theme_get_default();
+ register_my_icons(theme);
priv->icon = gtk_icon_theme_load_icon(theme, PACKAGE_NAME, 48,
GTK_ICON_LOOKUP_USE_BUILTIN,
NULL);
@@ -2458,7 +2460,7 @@ static GObject *trg_main_window_constructor(GType type,
else
trg_main_window_remove_status_icon(self);
- priv->statusBar = trg_status_bar_new();
+ priv->statusBar = trg_status_bar_new(self, priv->client);
g_signal_connect(priv->client, "session-updated",
G_CALLBACK(trg_client_session_updated_cb), self);