r2747 - in trunk/src/target/OM-2007.2/applications/openmoko-today2: . src
chris at sita.openmoko.org
chris at sita.openmoko.org
Mon Aug 20 15:40:32 CEST 2007
Author: chris
Date: 2007-08-20 15:40:31 +0200 (Mon, 20 Aug 2007)
New Revision: 2747
Modified:
trunk/src/target/OM-2007.2/applications/openmoko-today2/ChangeLog
trunk/src/target/OM-2007.2/applications/openmoko-today2/src/today-launcher.c
Log:
Fix the focus-on-search in openmoko-today2 launcher
Modified: trunk/src/target/OM-2007.2/applications/openmoko-today2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-today2/ChangeLog 2007-08-20 12:44:48 UTC (rev 2746)
+++ trunk/src/target/OM-2007.2/applications/openmoko-today2/ChangeLog 2007-08-20 13:40:31 UTC (rev 2747)
@@ -1,3 +1,8 @@
+2007-08-20 Chris Lord,,, <chris at openedhand.com>
+
+ * src/today-launcher.c: (today_launcher_search_toggle_cb):
+ Focus the search entry on show instead of hide
+
2007-08-03 Chris Lord,,, <chris at openedhand.com>
* libtaku/launcher-util.c: (launcher_start):
Modified: trunk/src/target/OM-2007.2/applications/openmoko-today2/src/today-launcher.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-today2/src/today-launcher.c 2007-08-20 12:44:48 UTC (rev 2746)
+++ trunk/src/target/OM-2007.2/applications/openmoko-today2/src/today-launcher.c 2007-08-20 13:40:31 UTC (rev 2747)
@@ -246,6 +246,7 @@
/* Set the category to the created search category */
taku_table_set_filter (TAKU_TABLE (data->launcher_table),
data->search_cat);
+ gtk_widget_grab_focus (data->search_entry);
} else {
/* Set the category back to the one pointed to by the
* drop-down.
@@ -254,7 +255,6 @@
(TakuLauncherCategory *)g_list_nth_data (
data->categories, gtk_combo_box_get_active (
GTK_COMBO_BOX (data->filter_combo))));
- gtk_widget_grab_focus (data->search_entry);
}
}
More information about the commitlog
mailing list