[Xfce4-commits] r23247 - thunar/trunk/po
Author: hydonsingore Date: 2006-10-01 05:43:26 + (Sun, 01 Oct 2006) New Revision: 23247 Modified: thunar/trunk/po/ChangeLog thunar/trunk/po/zh_TW.po Log: Updated traditional Chinese translations Modified: thunar/trunk/po/ChangeLog === --- thunar/trunk/po/ChangeLog 2006-09-30 11:19:24 UTC (rev 23246) +++ thunar/trunk/po/ChangeLog 2006-10-01 05:43:26 UTC (rev 23247) @@ -1,3 +1,7 @@ +2006-10-01 Hydonsingore Cia <[EMAIL PROTECTED]> + + * zh_TW.po: Updated traditional Chinese translations. + 2006-09-24 Sylvain Vedrenne <[EMAIL PROTECTED]> * eo.po: Fixed some Esperanto translations by Antono Vasiljev Modified: thunar/trunk/po/zh_TW.po === --- thunar/trunk/po/zh_TW.po2006-09-30 11:19:24 UTC (rev 23246) +++ thunar/trunk/po/zh_TW.po2006-10-01 05:43:26 UTC (rev 23247) @@ -9,8 +9,8 @@ "Project-Id-Version: Thunar 0.4.0rc1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-09-10 01:36+0200\n" -"PO-Revision-Date: 2006-09-02 22:41+0800\n" -"Last-Translator: Cosmo Chene <[EMAIL PROTECTED]>\n" +"PO-Revision-Date: 2006-10-01 13:34+0800\n" +"Last-Translator: Hydonsingore Cia <[EMAIL PROTECTED]>\n" "Language-Team: Chinese (traditional) <[EMAIL PROTECTED]>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -118,7 +118,7 @@ #: ../thunar-vfs/thunar-vfs-io-local-xfer.c:364 #, c-format msgid "copy of %s" -msgstr "%s 的拷貝" +msgstr "%s 的複本" #: ../thunar-vfs/thunar-vfs-io-local-xfer.c:365 #: ../thunar/thunar-list-model.c:753 ../thunar/thunar-properties-dialog.c:839 @@ -129,7 +129,7 @@ #: ../thunar-vfs/thunar-vfs-io-local-xfer.c:368 #, c-format msgid "another copy of %s" -msgstr "%s 的另一份拷貝" +msgstr "%s 的另一份複本" #: ../thunar-vfs/thunar-vfs-io-local-xfer.c:369 #, c-format @@ -139,7 +139,7 @@ #: ../thunar-vfs/thunar-vfs-io-local-xfer.c:372 #, c-format msgid "third copy of %s" -msgstr "%s 的第三份拷貝" +msgstr "%s 的第三份複本" #: ../thunar-vfs/thunar-vfs-io-local-xfer.c:373 #, c-format @@ -1750,9 +1750,9 @@ #. tell the user that we failed to change the icon of the .desktop file #: ../thunar/thunar-properties-dialog.c:702 -#, fuzzy, c-format +#, c-format msgid "Failed to change icon of \"%s\"" -msgstr "無法更改 \"%s\" 的模式" +msgstr "無法更改 \"%s\" 的圖示" #. update the properties dialog title #: ../thunar/thunar-properties-dialog.c:785 ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r23246 - xarchiver/branches/xarchiver-psybsd/src
Author: stephan Date: 2006-09-30 11:19:24 + (Sat, 30 Sep 2006) New Revision: 23246 Modified: xarchiver/branches/xarchiver-psybsd/src/main_window.c xarchiver/branches/xarchiver-psybsd/src/main_window.h Log: Improve memory usage (should perhaps implement own treemodel, to decrease overhead of liststore) Modified: xarchiver/branches/xarchiver-psybsd/src/main_window.c === --- xarchiver/branches/xarchiver-psybsd/src/main_window.c 2006-09-30 07:40:39 UTC (rev 23245) +++ xarchiver/branches/xarchiver-psybsd/src/main_window.c 2006-09-30 11:19:24 UTC (rev 23246) @@ -567,7 +567,7 @@ void xa_main_window_archive_destroyed(LXAArchive *archive, XAMainWindow *window) { - GtkTreeModel *liststore = gtk_tree_view_get_model(GTK_TREE_VIEW(window->treeview)); + GtkTreeModel *liststore = window->treemodel; GList *columns = gtk_tree_view_get_columns(GTK_TREE_VIEW(window->treeview)); gtk_list_store_clear(GTK_LIST_STORE(liststore)); @@ -770,16 +770,20 @@ gtk_tree_view_set_search_column(GTK_TREE_VIEW(window->treeview), 0); } gtk_tree_view_set_model(GTK_TREE_VIEW(window->treeview), GTK_TREE_MODEL(liststore)); + window->treemodel = GTK_TREE_MODEL(liststore); } void xa_main_window_set_contents(XAMainWindow *main_window, LXAArchive *archive, GTree *item_tree) { gint i = 0; - GtkTreeModel *liststore = gtk_tree_view_get_model(GTK_TREE_VIEW(main_window->treeview)); + GtkTreeModel *liststore = main_window->treemodel; + g_object_ref(liststore); GtkTreeIter iter; GValue *tmp_value; + gtk_tree_view_set_model(GTK_TREE_VIEW(main_window->treeview), NULL); + gtk_list_store_clear(GTK_LIST_STORE(liststore)); @@ -812,7 +816,7 @@ GValue *tmp_value; gint column_number; XAMainWindow *main_window= XA_MAIN_WINDOW(data); - GtkTreeModel *liststore = gtk_tree_view_get_model(GTK_TREE_VIEW(main_window->treeview)); + GtkTreeModel *liststore = main_window->treemodel; gtk_list_store_append(GTK_LIST_STORE(liststore), &iter); if(main_window->props._show_icons) { @@ -823,12 +827,16 @@ else g_value_set_string(tmp_value, "unknown"); gtk_list_store_set_value(GTK_LIST_STORE(liststore), &iter, i, tmp_value); + g_value_unset(tmp_value); + g_free(tmp_value); i++; } tmp_value = g_new0(GValue, 1); tmp_value = g_value_init(tmp_value, G_TYPE_STRING); g_value_set_string(tmp_value, (gchar *)key); gtk_list_store_set_value(GTK_LIST_STORE(liststore), &iter, i, tmp_value); + g_value_unset(tmp_value); + g_free(tmp_value); props = ((LXAEntry *)value)->props; if(props) @@ -858,6 +866,7 @@ gtk_list_store_set_value(GTK_LIST_STORE(liststore), &iter, i+1, tmp_value); else gtk_list_store_set_value(GTK_LIST_STORE(liststore), &iter, i, tmp_value); + g_value_unset(tmp_value); g_free(tmp_value); } } @@ -883,7 +892,7 @@ else gtk_tree_model_get_value(tree_model, &iter, 0, value); - const gchar *item_filename = g_value_get_string(value); + const gchar *item_filename = (gchar *)g_value_get_string(value); if(!strcmp(item_filename, "..")) /* pop */ { main_window->working_node = g_slist_delete_link(main_window->working_node, main_window->working_node); @@ -910,7 +919,7 @@ } } - g_value_reset(value); + g_value_unset(value); g_free(value); } Modified: xarchiver/branches/xarchiver-psybsd/src/main_window.h === --- xarchiver/branches/xarchiver-psybsd/src/main_window.h 2006-09-30 07:40:39 UTC (rev 23245) +++ xarchiver/branches/xarchiver-psybsd/src/main_window.h 2006-09-30 11:19:24 UTC (rev 23246) @@ -52,6 +52,7 @@ { GtkWindow parent; GtkWidget *treeview; + GtkTreeModel *treemodel; GtkWidget *scrollwindow; GtkWidget *statusbar; struct { ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r23245 - libfrap/trunk/libfrap/menu
Author: jannis Date: 2006-09-30 07:40:39 + (Sat, 30 Sep 2006) New Revision: 23245 Modified: libfrap/trunk/libfrap/menu/frap-menu-not-rules.c libfrap/trunk/libfrap/menu/frap-menu-not-rules.h Log: SVN keywords added Modified: libfrap/trunk/libfrap/menu/frap-menu-not-rules.c === --- libfrap/trunk/libfrap/menu/frap-menu-not-rules.c2006-09-30 07:40:04 UTC (rev 23244) +++ libfrap/trunk/libfrap/menu/frap-menu-not-rules.c2006-09-30 07:40:39 UTC (rev 23245) @@ -1,4 +1,4 @@ -/* $Id: frap-menu-and-rules.c 23232 2006-09-28 18:39:42Z jannis $ */ +/* $Id$ */ /* vi:set expandtab sw=2 sts=2: */ /*- * Copyright (c) 2006 Jannis Pohlmann <[EMAIL PROTECTED]> Property changes on: libfrap/trunk/libfrap/menu/frap-menu-not-rules.c ___ Name: svn:keywords + Id Author Date Revision Modified: libfrap/trunk/libfrap/menu/frap-menu-not-rules.h === --- libfrap/trunk/libfrap/menu/frap-menu-not-rules.h2006-09-30 07:40:04 UTC (rev 23244) +++ libfrap/trunk/libfrap/menu/frap-menu-not-rules.h2006-09-30 07:40:39 UTC (rev 23245) @@ -1,4 +1,4 @@ -/* $Id: frap-menu-and-rules.h 23232 2006-09-28 18:39:42Z jannis $ */ +/* $Id$ */ /* vi:set expandtab sw=2 sts=2: */ /*- * Copyright (c) 2006 Jannis Pohlmann <[EMAIL PROTECTED]> Property changes on: libfrap/trunk/libfrap/menu/frap-menu-not-rules.h ___ Name: svn:keywords + Id Author Date Revision ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r23244 - libfrap/trunk/libfrap/menu
Author: jannis Date: 2006-09-30 07:40:04 + (Sat, 30 Sep 2006) New Revision: 23244 Modified: libfrap/trunk/libfrap/menu/ChangeLog libfrap/trunk/libfrap/menu/STATUS Log: * STATUS: Status updated. Modified: libfrap/trunk/libfrap/menu/ChangeLog === --- libfrap/trunk/libfrap/menu/ChangeLog2006-09-30 07:32:33 UTC (rev 23243) +++ libfrap/trunk/libfrap/menu/ChangeLog2006-09-30 07:40:04 UTC (rev 23244) @@ -1,5 +1,9 @@ 2006-09-30 Jannis Pohlmann <[EMAIL PROTECTED]> + * STATUS: Status updated. + +2006-09-30 Jannis Pohlmann <[EMAIL PROTECTED]> + * frap-menu.h, frap-menu.c: Make get_rules and add_rule static methods in frap-menu.c. Implemented parsing of all include/exclude rule elements. get_app_dirs returns all application directories from the Modified: libfrap/trunk/libfrap/menu/STATUS === --- libfrap/trunk/libfrap/menu/STATUS 2006-09-30 07:32:33 UTC (rev 23243) +++ libfrap/trunk/libfrap/menu/STATUS 2006-09-30 07:40:04 UTC (rev 23244) @@ -31,7 +31,7 @@ [x] and - [ ] + [x] TODO: Recursively load elements (using a stack). @@ -44,19 +44,22 @@ category|filename category|filename - [ ] + [x] - [ ] + [-] - [ ] +TODO: Implement desktop-file id comparison in the match methods +of all rules. + [x] + [ ] - [ ] + [x] - [ ] + [x] - [ ] + [x] [ ] ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits