[tracker/tst-ui-fixes: 4/4] Set search entry as mnemonic widget for the label.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tst-ui-fixes: 4/4] Set search entry as mnemonic widget for the label.
- Date: Tue, 23 Mar 2010 17:14:03 +0000 (UTC)
commit 05cc84c62bba7eb8b3105a07b975603d25d21e2b
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Mar 23 18:11:38 2010 +0100
Set search entry as mnemonic widget for the label.
src/tracker-search-tool/tracker-search-tool.gs | 2 ++
src/tracker-search-tool/tst.ui | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-search-tool/tracker-search-tool.gs b/src/tracker-search-tool/tracker-search-tool.gs
index 0811628..a29c97e 100644
--- a/src/tracker-search-tool/tracker-search-tool.gs
+++ b/src/tracker-search-tool/tracker-search-tool.gs
@@ -132,8 +132,10 @@ init
grid_box = builder.get_object ("GridBox") as Container
category_box = builder.get_object ("CategoryBox") as Container
main_box = builder.get_object ("MainBox") as VBox
+ search_label = builder.get_object ("SearchLabel") as Label
window.add_accel_group (accel_group)
+ search_label.set_mnemonic_widget (entry)
query.Connect ()
entry.Query = query
diff --git a/src/tracker-search-tool/tst.ui b/src/tracker-search-tool/tst.ui
index 4818507..e50cb77 100644
--- a/src/tracker-search-tool/tst.ui
+++ b/src/tracker-search-tool/tst.ui
@@ -18,7 +18,7 @@
<property name="visible">True</property>
<property name="spacing">12</property>
<child>
- <object class="GtkLabel" id="label1">
+ <object class="GtkLabel" id="SearchLabel">
<property name="visible">True</property>
<property name="label" translatable="yes">_Search:</property>
<property name="use_underline">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]