summaryrefslogtreecommitdiff
path: root/applets/wncklet/window-list.c
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2020-10-19 11:00:13 -0700
committerraveit65 <[email protected]>2020-10-21 20:35:15 +0200
commitc100c45640b7cc64f8ecca4cf4e1b0f77a637f3f (patch)
tree721a5cb83401085e93cabd2bda8a35fc1af85372 /applets/wncklet/window-list.c
parentb1e70ac3be6b843e75226d6db99b43b4c4d01cf1 (diff)
downloadmate-panel-c100c45640b7cc64f8ecca4cf4e1b0f77a637f3f.tar.bz2
mate-panel-c100c45640b7cc64f8ecca4cf4e1b0f77a637f3f.tar.xz
Show label about options not available on Wayland
Diffstat (limited to 'applets/wncklet/window-list.c')
-rw-r--r--applets/wncklet/window-list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index dd18fc72..6038400e 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -73,6 +73,7 @@ typedef struct {
/* Properties: */
GtkWidget* properties_dialog;
+ GtkWidget* wayland_info_label;
GtkWidget* show_current_radio;
GtkWidget* show_all_radio;
#ifdef HAVE_WINDOW_PREVIEWS
@@ -959,6 +960,8 @@ static void setup_sensitivity(TasklistData* tasklist, GtkBuilder* builder, const
#ifdef HAVE_WAYLAND
static void setup_dialog_wayland(TasklistData* tasklist)
{
+ gtk_widget_show(tasklist->wayland_info_label);
+
gtk_widget_set_sensitive(tasklist->window_list_content_box, FALSE);
gtk_widget_set_sensitive(tasklist->window_grouping_box, FALSE);
gtk_widget_set_sensitive(tasklist->minimized_windows_box, FALSE);
@@ -976,6 +979,7 @@ static void setup_dialog(GtkBuilder* builder, TasklistData* tasklist)
GtkAdjustment *adjustment;
#endif /* HAVE_WINDOW_PREVIEWS */
+ tasklist->wayland_info_label = WID("wayland_info_label");
tasklist->show_current_radio = WID("show_current_radio");
tasklist->show_all_radio = WID("show_all_radio");