[Xfce4-commits] r26540 - in xfce4-appfinder/trunk: . src

Jasper Huijsmans jasper at xfce.org
Sat Jan 5 16:35:48 CET 2008


Author: jasper
Date: 2008-01-05 15:35:48 +0000 (Sat, 05 Jan 2008)
New Revision: 26540

Modified:
   xfce4-appfinder/trunk/ChangeLog
   xfce4-appfinder/trunk/configure.ac.in
   xfce4-appfinder/trunk/src/appfinder.c
Log:
Add svn revision to the version. Don't set focus to filter entry after changing category. Quit after successful execution of an application.

Modified: xfce4-appfinder/trunk/ChangeLog
===================================================================
--- xfce4-appfinder/trunk/ChangeLog	2008-01-05 14:57:50 UTC (rev 26539)
+++ xfce4-appfinder/trunk/ChangeLog	2008-01-05 15:35:48 UTC (rev 26540)
@@ -1,3 +1,9 @@
+2008-01-05 16:35 jasper
+
+	* configure.ac.in: Add svn revision to the version.
+	* src/appfinder.c: Don't set focus to filter entry after changing
+	category. Quit after successful execution of an application.
+
 2008-01-05 15:04 jasper
 
 	* AUTHORS, COPYING, ChangeLog, Makefile.am, NEWS, README, TODO,

Modified: xfce4-appfinder/trunk/configure.ac.in
===================================================================
--- xfce4-appfinder/trunk/configure.ac.in	2008-01-05 14:57:50 UTC (rev 26539)
+++ xfce4-appfinder/trunk/configure.ac.in	2008-01-05 15:35:48 UTC (rev 26540)
@@ -16,7 +16,7 @@
 m4_define([appfinder_version_micro], [0])
 m4_define([appfinder_version_nano],  []) dnl leave this empty to have no nano version
 m4_define([appfinder_version_build], [r at REVISION@])
-m4_define([appfinder_version_tag],   [])
+m4_define([appfinder_version_tag],   [svn])
 m4_define([appfinder_version], [appfinder_version_major().appfinder_version_minor().appfinder_version_micro()ifelse(appfinder_version_nano(), [], [], [.appfinder_version_nano()])ifelse(appfinder_version_tag(), [svn], [appfinder_version_tag()-appfinder_version_build()], [appfinder_version_tag()])])
 
 dnl minimum required versions

Modified: xfce4-appfinder/trunk/src/appfinder.c
===================================================================
--- xfce4-appfinder/trunk/src/appfinder.c	2008-01-05 14:57:50 UTC (rev 26539)
+++ xfce4-appfinder/trunk/src/appfinder.c	2008-01-05 15:35:48 UTC (rev 26540)
@@ -402,6 +402,7 @@
   if (gtk_toggle_button_get_active (tb))
     {
       gtk_list_store_clear (application_store);
+      current = NULL;
       if (GTK_WIDGET (tb) == radiobutton_all)
 	{
 	  /* show all */
@@ -424,7 +425,6 @@
 	    }
 	}
       gtk_widget_set_sensitive (exec_button, FALSE);
-      gtk_widget_grab_focus (filter_entry);
     }
 }
 
@@ -572,6 +572,8 @@
 	    }
 	}
       g_free (exec);
+      /* TODO: should we make this optional? */
+      gtk_main_quit();
     }
 }
 



More information about the Xfce4-commits mailing list