gnome-launch-box r246 - in trunk: . src
- From: herzi svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-launch-box r246 - in trunk: . src
- Date: Mon, 9 Mar 2009 16:44:25 +0000 (UTC)
Author: herzi
Date: Mon Mar 9 16:44:25 2009
New Revision: 246
URL: http://svn.gnome.org/viewvc/gnome-launch-box?rev=246&view=rev
Log:
2009-03-09 Sven Herzberg <herzi lanedo com>
Bug 574006 â gnome-launch-box state is retained across calls to it
* src/lb-window.c (lb_window_present): finally fix this by also
cleaning the last search string
Modified:
trunk/ChangeLog
trunk/src/lb-window.c
Modified: trunk/src/lb-window.c
==============================================================================
--- trunk/src/lb-window.c (original)
+++ trunk/src/lb-window.c Mon Mar 9 16:44:25 2009
@@ -1174,11 +1174,10 @@
if (!window_get_is_visible (window)) {
g_string_truncate (priv->search_string, 0);
+ g_free (priv->last_item_search_str);
+ priv->last_item_search_str = NULL;
+
window_set_focus (window, LB_WINDOW_FOCUS_ITEM);
- g_object_set (LB_ICON_BOX (priv->item_icon_box),
- "caption", priv->search_string->str,
- "pixbuf", priv->empty_pixbuf,
- NULL);
window_reset_result (window);
if (GTK_WIDGET_REALIZED (GTK_WIDGET (window))) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]