summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-10-25 14:33:09 +0300
committerMonsta <[email protected]>2015-10-25 14:33:09 +0300
commit37c008faa299f248d2ef4067e59132b854732331 (patch)
treea6d9c36d595be4f27d379563283d915df02a5052
parent40c83f53afc9b84d2d9c877fc36dba01cb9a938f (diff)
downloadmate-panel-37c008faa299f248d2ef4067e59132b854732331.tar.bz2
mate-panel-37c008faa299f248d2ef4067e59132b854732331.tar.xz
run dialog: make app description label unfocusable
-rw-r--r--mate-panel/panel-run-dialog.c2
-rw-r--r--mate-panel/panel-run-dialog.ui1
2 files changed, 2 insertions, 1 deletions
diff --git a/mate-panel/panel-run-dialog.c b/mate-panel/panel-run-dialog.c
index 128f56d0..61361dc1 100644
--- a/mate-panel/panel-run-dialog.c
+++ b/mate-panel/panel-run-dialog.c
@@ -1090,6 +1090,8 @@ panel_run_dialog_setup_program_list (PanelRunDialog *dialog,
dialog->program_label = PANEL_GTK_BUILDER_GET (gui, "program_label");
dialog->main_box = PANEL_GTK_BUILDER_GET (gui, "main_box");
+ gtk_widget_set_can_focus (dialog->program_label, FALSE);
+
/* Ref the box so it doesn't get destroyed when it is
* removed from the visible area of the dialog box.
*/
diff --git a/mate-panel/panel-run-dialog.ui b/mate-panel/panel-run-dialog.ui
index 5a3b360d..f165cb01 100644
--- a/mate-panel/panel-run-dialog.ui
+++ b/mate-panel/panel-run-dialog.ui
@@ -160,7 +160,6 @@
<child>
<object class="GtkLabel" id="program_label">
<property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
<property name="label" translatable="yes">Select an application to view its description.</property>