summary refs log tree commit diff stats
path: root/src/fe-gtk/plugin-tray.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-01-03 18:18:04 -0500
committerTingPing <tingping@tingping.se>2013-01-03 18:18:04 -0500
commit00bd8d42c3b2e3a6fd453393f401cc0af5071135 (patch)
treea550c6bba165176c0f778cf54734682ef671dc30 /src/fe-gtk/plugin-tray.c
parent9aa33ad1d36c345a6fa34d142d2839127a742cde (diff)
use tabs
Diffstat (limited to 'src/fe-gtk/plugin-tray.c')
-rw-r--r--src/fe-gtk/plugin-tray.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c
index 73a7572b..17d55780 100644
--- a/src/fe-gtk/plugin-tray.c
+++ b/src/fe-gtk/plugin-tray.c
@@ -427,29 +427,29 @@ tray_menu_restore_cb (GtkWidget *item, gpointer userdata)
 static void
 tray_menu_notify_cb (GObject *tray, GParamSpec *pspec, gpointer user_data)
 {
-    if (sticon && strcmp (pspec->name, "embedded") == 0)
-    {
-        if (!gtk_status_icon_is_embedded (sticon))
-        {
-            tray_restore_timer = g_timeout_add(500, (GSourceFunc)tray_menu_try_restore, NULL);
-        }
-        else
-        {
-            if (tray_restore_timer)
-            {
-                g_source_remove (tray_restore_timer);
-                tray_restore_timer = 0;
-            }
-        }
-    }
+	if (sticon && strcmp (pspec->name, "embedded") == 0)
+	{
+		if (!gtk_status_icon_is_embedded (sticon))
+		{
+			tray_restore_timer = g_timeout_add(500, (GSourceFunc)tray_menu_try_restore, NULL);
+		}
+		else
+		{
+			if (tray_restore_timer)
+			{
+				g_source_remove (tray_restore_timer);
+				tray_restore_timer = 0;
+			}
+		}
+	}
 }
 
 static gboolean
 tray_menu_try_restore ()
 {
-    tray_cleanup();
-    tray_init();
-    return TRUE;
+	tray_cleanup();
+	tray_init();
+	return TRUE;
 }
 
 
@@ -661,7 +661,7 @@ tray_init (void)
 	g_signal_connect (G_OBJECT (sticon), "activate",
 							G_CALLBACK (tray_menu_restore_cb), NULL);
 
-    g_signal_connect (G_OBJECT (sticon), "notify",
+	g_signal_connect (G_OBJECT (sticon), "notify",
 							G_CALLBACK (tray_menu_notify_cb), NULL);
 }