← easystroke

Don't start with configuration open when no show/hide action is defined

f01bb539a511bd7775064783b5de7b0556db6ea2 · Thomas Jaeger · Mar 22, 2010 21:36

I've gotten complaints about this periodically, even if it is easy
to circumvent and we show a warning.  Let's hope this won't leave
users wondering how they can bring up the config window now.

+2 −3 · 1 file changed

  • main.cc +2 −3
diff --git a/main.cc b/main.cc
index 1d94e2a..8d53440 100644
--- a/main.cc
+++ b/main.cc
@@ -941,10 +941,9 @@ void icon_warning() {
 		if (m && m->type == Misc::SHOWHIDE)
 			return;
 	}
-	if (!win) {
-		show_gui = true;
+	if (!win)
 		return;
-	}
+
 	Gtk::MessageDialog *md;
 	widgets->get_widget("dialog_icon", md);
 	md->set_message(_("Tray icon disabled"));