r1547 - in trunk/src/target/OM-2007/applications/openmoko-appmanager: . src

ken_zhao at sita.openmoko.org ken_zhao at sita.openmoko.org
Thu Mar 29 10:11:44 CEST 2007


Author: ken_zhao
Date: 2007-03-29 10:11:39 +0200 (Thu, 29 Mar 2007)
New Revision: 1547

Modified:
   trunk/src/target/OM-2007/applications/openmoko-appmanager/ChangeLog
   trunk/src/target/OM-2007/applications/openmoko-appmanager/src/application-menu.c
Log:
Remove unnecessory setting a default size to the file chooser dialog.
After installing single package successfully, refresh the navigation.
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=288

Use the "Exit" menuitem instead of the "Quit" menuitem in the application manu.
Followed the suggestion of:
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=296


Modified: trunk/src/target/OM-2007/applications/openmoko-appmanager/ChangeLog
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-appmanager/ChangeLog	2007-03-29 05:18:32 UTC (rev 1546)
+++ trunk/src/target/OM-2007/applications/openmoko-appmanager/ChangeLog	2007-03-29 08:11:39 UTC (rev 1547)
@@ -1,3 +1,12 @@
+2007-03-29 Chaowei Song <songcw at fic-sh.com.cn>
+	* src/application-menu.c: (on_install_single_application_activate)
+	Remove unnecessory set a default size to the file chooser dialog.
+	It makes the file chooser dialog too ugly.
+	After installing single package successfully, refresh the navigation
+	area, and show the installed packages list.
+	* src/application-menu.c: (application_menu_new)
+	Use the "Exit" menuitem instead of the "Quit" menuitem.
+
 2007-03-26 Chaowei Song <songcw at fic-sh.com.cn>
 	* data/:
 	Add action buttons:

Modified: trunk/src/target/OM-2007/applications/openmoko-appmanager/src/application-menu.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-appmanager/src/application-menu.c	2007-03-29 05:18:32 UTC (rev 1546)
+++ trunk/src/target/OM-2007/applications/openmoko-appmanager/src/application-menu.c	2007-03-29 08:11:39 UTC (rev 1547)
@@ -19,6 +19,7 @@
  */
 
 #include "application-menu.h"
+#include "filter-menu.h"
 #include "appmanager-window.h"
 #include "package-list.h"
 #include "ipkgapi.h"
@@ -99,7 +100,6 @@
                                             NULL);
   gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(filechooser), FALSE);
   gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(filechooser), FALSE);
-  gtk_window_set_default_size (GTK_WINDOW (filechooser), 400, 300);
 
   filter = gtk_file_filter_new();
   gtk_file_filter_set_name(filter, _("Ipk files(*.ipk)"));
@@ -163,6 +163,7 @@
                                              get_error_msg ());
         break;
       case INSTALL_SUCCESS:
+        filter_menu_show_install_list (appdata);
         infodialog = gtk_message_dialog_new (NULL,
                                              GTK_DIALOG_DESTROY_WITH_PARENT,
                                              GTK_MESSAGE_INFO,
@@ -261,7 +262,7 @@
   g_signal_connect ((gpointer) showhelp, "activate",
                     G_CALLBACK (on_showhelp_activate), appdata);
 
-  quit = gtk_menu_item_new_with_mnemonic (_("Quit"));
+  quit = gtk_menu_item_new_with_mnemonic (_("Exit"));
   gtk_widget_show (quit);
   gtk_container_add (GTK_CONTAINER (appmenu), quit);
   g_signal_connect ((gpointer) quit, "activate",





More information about the commitlog mailing list