summaryrefslogtreecommitdiff
path: root/src/trg-toolbar.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-18 23:30:02 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-18 23:30:02 +0000
commitc427fa73c4f7853de992eda9de1c818c2ee525aa (patch)
treec1203a6a808f242038cb063eba4843cf97f2c40f /src/trg-toolbar.c
parent2512c508cb6b8edeefed308a3dce61054d58bb06 (diff)
full and default gtk3 support, almost. the graph is disabled as the drawing api has changed quite a bit. yet another implementation to pass arguments, which made a cleanup of main.c necessary.
Diffstat (limited to 'src/trg-toolbar.c')
-rw-r--r--src/trg-toolbar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/trg-toolbar.c b/src/trg-toolbar.c
index 2fc7149..d829dcc 100644
--- a/src/trg-toolbar.c
+++ b/src/trg-toolbar.c
@@ -261,7 +261,9 @@ static GObject *trg_toolbar_constructor(GType type,
trg_toolbar_item_new(TRG_TOOLBAR(obj), _("Remote Preferences"),
&position, GTK_STOCK_NETWORK, FALSE);
+#if !GTK_CHECK_VERSION( 3, 0, 0 )
gtk_toolbar_set_tooltips(GTK_TOOLBAR(obj), TRUE);
+#endif
g_signal_connect(G_OBJECT(priv->prefs), "pref-profile-changed",
G_CALLBACK(trg_toolbar_refresh_menu), obj);