[SF#679]X11 library uses unsigned long as cardinal-32 data, not uint32_t.
[lxde/lxpanel.git] / plugins / pager.c
index 17466f1..7d723da 100644 (file)
@@ -67,7 +67,6 @@ static GtkWidget *pager_constructor(LXPanel *panel, config_setting_t *settings)
     w = wnck_pager_new(NULL);
     g_return_val_if_fail(w != NULL, 0);
     p = gtk_alignment_new(0, 0, 1.0, 1.0);
-    gtk_widget_set_has_window(p, FALSE);
 
     /* we cannot configure pager until it added into widgets hierarchy */
     g_signal_connect(p, "realize", G_CALLBACK(on_realize), panel);
@@ -88,6 +87,9 @@ static GtkWidget *pager_configure(LXPanel *panel, GtkWidget *instance)
     if (configure_command)
         fm_launch_command_simple(NULL, NULL, G_APP_INFO_CREATE_NONE,
                                  configure_command, NULL);
+    else
+        fm_show_error(NULL, NULL,
+                      _("Sorry, there was no window manager configuration program found."));
     return NULL; /* no configuration dialog of lxpanel available */
 }