[tracker] Set search entry as mnemonic widget for the label.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Set search entry as mnemonic widget for the label.
- Date: Wed, 24 Mar 2010 17:08:22 +0000 (UTC)
commit fd2638263392479280c602643df84b402ec16e05
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]