[Goodies-commits] r3782 - in thunar-svn-plugin/trunk: . icons icons/24x24 icons/48x48 po thunar-svn-plugin
Peter de Ridder
peter at xfce.org
Sun Jan 6 01:42:09 CET 2008
Author: peter
Date: 2008-01-06 00:42:09 +0000 (Sun, 06 Jan 2008)
New Revision: 3782
Added:
thunar-svn-plugin/trunk/icons/24x24/
thunar-svn-plugin/trunk/icons/24x24/Makefile.am
thunar-svn-plugin/trunk/icons/24x24/subversion.png
thunar-svn-plugin/trunk/icons/48x48/
thunar-svn-plugin/trunk/icons/48x48/Makefile.am
thunar-svn-plugin/trunk/icons/48x48/subversion.png
Modified:
thunar-svn-plugin/trunk/autogen.sh
thunar-svn-plugin/trunk/configure.ac.in
thunar-svn-plugin/trunk/icons/Makefile.am
thunar-svn-plugin/trunk/po/cs.po
thunar-svn-plugin/trunk/po/fr.po
thunar-svn-plugin/trunk/po/hu.po
thunar-svn-plugin/trunk/po/lv.po
thunar-svn-plugin/trunk/po/nl.po
thunar-svn-plugin/trunk/po/pt_BR.po
thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot
thunar-svn-plugin/trunk/po/ur.po
thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-provider.c
thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.c
thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.h
Log:
applied patch from bug #3787 Jean-Fran?\195?\167ois Wauthy <pollux at xfce.org>
made all svn actions part of the SVN submenu
Modified: thunar-svn-plugin/trunk/autogen.sh
===================================================================
--- thunar-svn-plugin/trunk/autogen.sh 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/autogen.sh 2008-01-06 00:42:09 UTC (rev 3782)
@@ -27,7 +27,11 @@
# substitute revision and linguas
linguas=`sed -e '/^#/d' po/LINGUAS`
-revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
+if test -d .git/svn; then
+ revision=`LC_ALL=C git-svn find-rev HEAD`
+else
+ revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n",$2}'`
+fi
sed -e "s/@LINGUAS@/${linguas}/g" \
-e "s/@REVISION@/${revision}/g" \
< "configure.ac.in" > "configure.in"
Modified: thunar-svn-plugin/trunk/configure.ac.in
===================================================================
--- thunar-svn-plugin/trunk/configure.ac.in 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/configure.ac.in 2008-01-06 00:42:09 UTC (rev 3782)
@@ -170,6 +170,8 @@
Makefile
icons/Makefile
icons/16x16/Makefile
+icons/24x24/Makefile
+icons/48x48/Makefile
po/Makefile.in
thunar-svn-plugin/Makefile
tsp-svn-helper/Makefile
Added: thunar-svn-plugin/trunk/icons/24x24/Makefile.am
===================================================================
--- thunar-svn-plugin/trunk/icons/24x24/Makefile.am (rev 0)
+++ thunar-svn-plugin/trunk/icons/24x24/Makefile.am 2008-01-06 00:42:09 UTC (rev 3782)
@@ -0,0 +1,7 @@
+iconsdir = $(datadir)/icons/hicolor/24x24/apps
+icons_DATA = \
+ subversion.png
+
+EXTRA_DIST = \
+ $(icons_DATA)
+
Added: thunar-svn-plugin/trunk/icons/24x24/subversion.png
===================================================================
(Binary files differ)
Property changes on: thunar-svn-plugin/trunk/icons/24x24/subversion.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: thunar-svn-plugin/trunk/icons/48x48/Makefile.am
===================================================================
--- thunar-svn-plugin/trunk/icons/48x48/Makefile.am (rev 0)
+++ thunar-svn-plugin/trunk/icons/48x48/Makefile.am 2008-01-06 00:42:09 UTC (rev 3782)
@@ -0,0 +1,7 @@
+iconsdir = $(datadir)/icons/hicolor/48x48/apps
+icons_DATA = \
+ subversion.png
+
+EXTRA_DIST = \
+ $(icons_DATA)
+
Added: thunar-svn-plugin/trunk/icons/48x48/subversion.png
===================================================================
(Binary files differ)
Property changes on: thunar-svn-plugin/trunk/icons/48x48/subversion.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: thunar-svn-plugin/trunk/icons/Makefile.am
===================================================================
--- thunar-svn-plugin/trunk/icons/Makefile.am 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/icons/Makefile.am 2008-01-06 00:42:09 UTC (rev 3782)
@@ -1,6 +1,8 @@
SUBDIRS = \
- 16x16
+ 16x16 \
+ 24x24 \
+ 48x48
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
Modified: thunar-svn-plugin/trunk/po/cs.po
===================================================================
--- thunar-svn-plugin/trunk/po/cs.po 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/po/cs.po 2008-01-06 00:42:09 UTC (rev 3782)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xfce 4-i18-goodies\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-05 02:28+0100\n"
+"POT-Creation-Date: 2008-01-06 01:40+0100\n"
"PO-Revision-Date: 2007-12-15 22:05+0100\n"
"Last-Translator: Michal Várady <miko.vaji at gmail.com>\n"
"Language-Team: Czech\n"
@@ -17,119 +17,122 @@
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:416 thunar-svn-plugin/tsp-provider.c:431
-#: thunar-svn-plugin/tsp-provider.c:466 thunar-svn-plugin/tsp-provider.c:474
+#. Lets see if we are dealing with a working copy
+#: thunar-svn-plugin/tsp-provider.c:431 thunar-svn-plugin/tsp-provider.c:462
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:421
-msgid "SVN _Import"
-msgstr "_Import SVN"
-
-#: thunar-svn-plugin/tsp-provider.c:479
-msgid "SVN _Checkout"
-msgstr "_Načtení z SVN (checkout)"
-
-#: thunar-svn-plugin/tsp-provider.c:486
-#, fuzzy
-msgid "SVN _Export"
-msgstr "_Import SVN"
-
-#: thunar-svn-plugin/tsp-svn-action.c:254 tsp-svn-helper/main.c:207
+#: thunar-svn-plugin/tsp-svn-action.c:268 tsp-svn-helper/main.c:207
#: tsp-svn-helper/tsh-add.c:94
msgid "Add"
msgstr "Přidat"
-#: thunar-svn-plugin/tsp-svn-action.c:262
+#: thunar-svn-plugin/tsp-svn-action.c:280
+#: thunar-svn-plugin/tsp-svn-action.c:281
msgid "Blame"
msgstr "Nahlásit"
-#: thunar-svn-plugin/tsp-svn-action.c:280 tsp-svn-helper/main.c:215
+#: thunar-svn-plugin/tsp-svn-action.c:295 tsp-svn-helper/main.c:211
+#: tsp-svn-helper/tsh-checkout.c:86 tsp-svn-helper/tsh-checkout.c:98
+msgid "Checkout"
+msgstr "Checkout (stáhnout)"
+
+#: thunar-svn-plugin/tsp-svn-action.c:307 tsp-svn-helper/main.c:215
msgid "Cleanup"
msgstr "Vyčistit"
-#: thunar-svn-plugin/tsp-svn-action.c:288 tsp-svn-helper/main.c:219
+#: thunar-svn-plugin/tsp-svn-action.c:319 tsp-svn-helper/main.c:219
#: tsp-svn-helper/tsh-commit.c:101
msgid "Commit"
msgstr "Zapsat"
-#: thunar-svn-plugin/tsp-svn-action.c:296 tsp-svn-helper/main.c:223
+#: thunar-svn-plugin/tsp-svn-action.c:331 tsp-svn-helper/main.c:223
#: tsp-svn-helper/tsh-copy.c:127
msgid "Copy"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:304 tsp-svn-helper/main.c:227
+#: thunar-svn-plugin/tsp-svn-action.c:343 tsp-svn-helper/main.c:227
#: tsp-svn-helper/tsh-delete.c:101
msgid "Delete"
msgstr "Smazat"
-#: thunar-svn-plugin/tsp-svn-action.c:312
+#: thunar-svn-plugin/tsp-svn-action.c:355
+#: thunar-svn-plugin/tsp-svn-action.c:358
msgid "Diff"
msgstr "Rozdíl"
-#: thunar-svn-plugin/tsp-svn-action.c:320 tsp-svn-helper/main.c:231
+#: thunar-svn-plugin/tsp-svn-action.c:367 tsp-svn-helper/main.c:231
#: tsp-svn-helper/tsh-export.c:95 tsp-svn-helper/tsh-export.c:113
msgid "Export"
msgstr "Export"
-#: thunar-svn-plugin/tsp-svn-action.c:333
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:235
+#: tsp-svn-helper/tsh-import.c:86 tsp-svn-helper/tsh-import.c:104
+#, fuzzy
+msgid "Import"
+msgstr "_Import SVN"
+
+#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:394
msgid "Info"
msgstr "Informace"
-#: thunar-svn-plugin/tsp-svn-action.c:346 tsp-svn-helper/main.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:408 tsp-svn-helper/main.c:239
#: tsp-svn-helper/tsh-lock.c:118 tsp-svn-helper/tsh-lock-dialog.c:72
msgid "Lock"
msgstr "Zámek"
-#: thunar-svn-plugin/tsp-svn-action.c:354 tsp-svn-helper/main.c:243
+#: thunar-svn-plugin/tsp-svn-action.c:420 tsp-svn-helper/main.c:243
#: tsp-svn-helper/tsh-log-dialog.c:201
msgid "Log"
msgstr "Protokol"
-#: thunar-svn-plugin/tsp-svn-action.c:372 tsp-svn-helper/main.c:247
+#: thunar-svn-plugin/tsp-svn-action.c:441 tsp-svn-helper/main.c:247
#: tsp-svn-helper/tsh-move.c:126
msgid "Move"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:386
+#: thunar-svn-plugin/tsp-svn-action.c:459
msgid "Edit Properties"
msgstr "Upravit vlastnosti"
-#: thunar-svn-plugin/tsp-svn-action.c:395 tsp-svn-helper/main.c:255
+#: thunar-svn-plugin/tsp-svn-action.c:472 tsp-svn-helper/main.c:255
#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-resolved.c:94
#, fuzzy
msgid "Resolved"
msgstr "Vyřešit"
-#: thunar-svn-plugin/tsp-svn-action.c:403
+#: thunar-svn-plugin/tsp-svn-action.c:484
+#: thunar-svn-plugin/tsp-svn-action.c:487
msgid "Resolve"
msgstr "Vyřešit"
-#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:259
+#: thunar-svn-plugin/tsp-svn-action.c:496 tsp-svn-helper/main.c:259
#: tsp-svn-helper/tsh-revert.c:99
msgid "Revert"
msgstr "Obnovit předchozí"
-#: thunar-svn-plugin/tsp-svn-action.c:419 tsp-svn-helper/main.c:263
+#: thunar-svn-plugin/tsp-svn-action.c:508 tsp-svn-helper/main.c:263
#: tsp-svn-helper/tsh-status-dialog.c:184
msgid "Status"
msgstr "Stav"
-#: thunar-svn-plugin/tsp-svn-action.c:427
+#: thunar-svn-plugin/tsp-svn-action.c:520
+#: thunar-svn-plugin/tsp-svn-action.c:523
msgid "Switch"
msgstr "Přepnout"
-#: thunar-svn-plugin/tsp-svn-action.c:435 tsp-svn-helper/main.c:267
+#: thunar-svn-plugin/tsp-svn-action.c:532 tsp-svn-helper/main.c:267
#: tsp-svn-helper/tsh-unlock.c:99
msgid "Unlock"
msgstr "Odemknout"
-#: thunar-svn-plugin/tsp-svn-action.c:443 tsp-svn-helper/main.c:271
+#: thunar-svn-plugin/tsp-svn-action.c:542 tsp-svn-helper/main.c:271
#: tsp-svn-helper/tsh-update.c:101
msgid "Update"
msgstr "Aktualizovat"
-#: thunar-svn-plugin/tsp-svn-action.c:456
+#: thunar-svn-plugin/tsp-svn-action.c:559
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -323,11 +326,6 @@
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:211 tsp-svn-helper/tsh-checkout.c:86
-#: tsp-svn-helper/tsh-checkout.c:98
-msgid "Checkout"
-msgstr "Checkout (stáhnout)"
-
#: tsp-svn-helper/main.c:215
msgid "Cleanup Related Opions:"
msgstr ""
@@ -352,12 +350,6 @@
msgid "Import Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:235 tsp-svn-helper/tsh-import.c:86
-#: tsp-svn-helper/tsh-import.c:104
-#, fuzzy
-msgid "Import"
-msgstr "_Import SVN"
-
#: tsp-svn-helper/main.c:239
msgid "Lock Related Opions:"
msgstr ""
@@ -710,3 +702,13 @@
#: tsp-svn-helper/tsh-trust-dialog.c:77
msgid "Trust"
msgstr ""
+
+#~ msgid "SVN _Import"
+#~ msgstr "_Import SVN"
+
+#~ msgid "SVN _Checkout"
+#~ msgstr "_Načtení z SVN (checkout)"
+
+#, fuzzy
+#~ msgid "SVN _Export"
+#~ msgstr "_Import SVN"
Modified: thunar-svn-plugin/trunk/po/fr.po
===================================================================
--- thunar-svn-plugin/trunk/po/fr.po 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/po/fr.po 2008-01-06 00:42:09 UTC (rev 3782)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: xfce-i 18n\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-05 02:28+0100\n"
+"POT-Creation-Date: 2008-01-06 01:40+0100\n"
"PO-Revision-Date: 2007-10-24 13:04+0100\n"
"Last-Translator: Mike Massonnet <mmassonnet at gmail.com>\n"
"Language-Team: French\n"
@@ -18,120 +18,123 @@
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:416 thunar-svn-plugin/tsp-provider.c:431
-#: thunar-svn-plugin/tsp-provider.c:466 thunar-svn-plugin/tsp-provider.c:474
+#. Lets see if we are dealing with a working copy
+#: thunar-svn-plugin/tsp-provider.c:431 thunar-svn-plugin/tsp-provider.c:462
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:421
-msgid "SVN _Import"
-msgstr "SVN _Importer"
-
-#: thunar-svn-plugin/tsp-provider.c:479
-msgid "SVN _Checkout"
-msgstr "SVN _Extraire"
-
-#: thunar-svn-plugin/tsp-provider.c:486
-#, fuzzy
-msgid "SVN _Export"
-msgstr "SVN _Importer"
-
-#: thunar-svn-plugin/tsp-svn-action.c:254 tsp-svn-helper/main.c:207
+#: thunar-svn-plugin/tsp-svn-action.c:268 tsp-svn-helper/main.c:207
#: tsp-svn-helper/tsh-add.c:94
msgid "Add"
msgstr "Ajouter"
-#: thunar-svn-plugin/tsp-svn-action.c:262
+#: thunar-svn-plugin/tsp-svn-action.c:280
+#: thunar-svn-plugin/tsp-svn-action.c:281
msgid "Blame"
msgstr "Différences détaillées"
-#: thunar-svn-plugin/tsp-svn-action.c:280 tsp-svn-helper/main.c:215
+#: thunar-svn-plugin/tsp-svn-action.c:295 tsp-svn-helper/main.c:211
+#: tsp-svn-helper/tsh-checkout.c:86 tsp-svn-helper/tsh-checkout.c:98
+msgid "Checkout"
+msgstr "Extraction"
+
+#: thunar-svn-plugin/tsp-svn-action.c:307 tsp-svn-helper/main.c:215
msgid "Cleanup"
msgstr "Nettoyer les verrous"
-#: thunar-svn-plugin/tsp-svn-action.c:288 tsp-svn-helper/main.c:219
+#: thunar-svn-plugin/tsp-svn-action.c:319 tsp-svn-helper/main.c:219
#: tsp-svn-helper/tsh-commit.c:101
msgid "Commit"
msgstr "Envoyer"
-#: thunar-svn-plugin/tsp-svn-action.c:296 tsp-svn-helper/main.c:223
+#: thunar-svn-plugin/tsp-svn-action.c:331 tsp-svn-helper/main.c:223
#: tsp-svn-helper/tsh-copy.c:127
#, fuzzy
msgid "Copy"
msgstr "Complété"
-#: thunar-svn-plugin/tsp-svn-action.c:304 tsp-svn-helper/main.c:227
+#: thunar-svn-plugin/tsp-svn-action.c:343 tsp-svn-helper/main.c:227
#: tsp-svn-helper/tsh-delete.c:101
msgid "Delete"
msgstr "Effacer"
-#: thunar-svn-plugin/tsp-svn-action.c:312
+#: thunar-svn-plugin/tsp-svn-action.c:355
+#: thunar-svn-plugin/tsp-svn-action.c:358
msgid "Diff"
msgstr "Différences"
-#: thunar-svn-plugin/tsp-svn-action.c:320 tsp-svn-helper/main.c:231
+#: thunar-svn-plugin/tsp-svn-action.c:367 tsp-svn-helper/main.c:231
#: tsp-svn-helper/tsh-export.c:95 tsp-svn-helper/tsh-export.c:113
msgid "Export"
msgstr "Exporter"
-#: thunar-svn-plugin/tsp-svn-action.c:333
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:235
+#: tsp-svn-helper/tsh-import.c:86 tsp-svn-helper/tsh-import.c:104
+#, fuzzy
+msgid "Import"
+msgstr "SVN _Importer"
+
+#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:394
msgid "Info"
msgstr "Information"
-#: thunar-svn-plugin/tsp-svn-action.c:346 tsp-svn-helper/main.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:408 tsp-svn-helper/main.c:239
#: tsp-svn-helper/tsh-lock.c:118 tsp-svn-helper/tsh-lock-dialog.c:72
msgid "Lock"
msgstr "Bloquer"
-#: thunar-svn-plugin/tsp-svn-action.c:354 tsp-svn-helper/main.c:243
+#: thunar-svn-plugin/tsp-svn-action.c:420 tsp-svn-helper/main.c:243
#: tsp-svn-helper/tsh-log-dialog.c:201
msgid "Log"
msgstr "Journal"
-#: thunar-svn-plugin/tsp-svn-action.c:372 tsp-svn-helper/main.c:247
+#: thunar-svn-plugin/tsp-svn-action.c:441 tsp-svn-helper/main.c:247
#: tsp-svn-helper/tsh-move.c:126
msgid "Move"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:386
+#: thunar-svn-plugin/tsp-svn-action.c:459
msgid "Edit Properties"
msgstr "Éditer les propriétés"
-#: thunar-svn-plugin/tsp-svn-action.c:395 tsp-svn-helper/main.c:255
+#: thunar-svn-plugin/tsp-svn-action.c:472 tsp-svn-helper/main.c:255
#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-resolved.c:94
#, fuzzy
msgid "Resolved"
msgstr "Fixer comme résolu"
-#: thunar-svn-plugin/tsp-svn-action.c:403
+#: thunar-svn-plugin/tsp-svn-action.c:484
+#: thunar-svn-plugin/tsp-svn-action.c:487
msgid "Resolve"
msgstr "Fixer comme résolu"
-#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:259
+#: thunar-svn-plugin/tsp-svn-action.c:496 tsp-svn-helper/main.c:259
#: tsp-svn-helper/tsh-revert.c:99
msgid "Revert"
msgstr "Restaurer"
-#: thunar-svn-plugin/tsp-svn-action.c:419 tsp-svn-helper/main.c:263
+#: thunar-svn-plugin/tsp-svn-action.c:508 tsp-svn-helper/main.c:263
#: tsp-svn-helper/tsh-status-dialog.c:184
msgid "Status"
msgstr "État"
-#: thunar-svn-plugin/tsp-svn-action.c:427
+#: thunar-svn-plugin/tsp-svn-action.c:520
+#: thunar-svn-plugin/tsp-svn-action.c:523
msgid "Switch"
msgstr "Modifier l'adresse du dépôt"
-#: thunar-svn-plugin/tsp-svn-action.c:435 tsp-svn-helper/main.c:267
+#: thunar-svn-plugin/tsp-svn-action.c:532 tsp-svn-helper/main.c:267
#: tsp-svn-helper/tsh-unlock.c:99
msgid "Unlock"
msgstr "Débloquer"
-#: thunar-svn-plugin/tsp-svn-action.c:443 tsp-svn-helper/main.c:271
+#: thunar-svn-plugin/tsp-svn-action.c:542 tsp-svn-helper/main.c:271
#: tsp-svn-helper/tsh-update.c:101
msgid "Update"
msgstr "Mettre à jour"
-#: thunar-svn-plugin/tsp-svn-action.c:456
+#: thunar-svn-plugin/tsp-svn-action.c:559
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -326,11 +329,6 @@
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:211 tsp-svn-helper/tsh-checkout.c:86
-#: tsp-svn-helper/tsh-checkout.c:98
-msgid "Checkout"
-msgstr "Extraction"
-
#: tsp-svn-helper/main.c:215
msgid "Cleanup Related Opions:"
msgstr ""
@@ -355,12 +353,6 @@
msgid "Import Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:235 tsp-svn-helper/tsh-import.c:86
-#: tsp-svn-helper/tsh-import.c:104
-#, fuzzy
-msgid "Import"
-msgstr "SVN _Importer"
-
#: tsp-svn-helper/main.c:239
msgid "Lock Related Opions:"
msgstr ""
@@ -716,3 +708,13 @@
#: tsp-svn-helper/tsh-trust-dialog.c:77
msgid "Trust"
msgstr ""
+
+#~ msgid "SVN _Import"
+#~ msgstr "SVN _Importer"
+
+#~ msgid "SVN _Checkout"
+#~ msgstr "SVN _Extraire"
+
+#, fuzzy
+#~ msgid "SVN _Export"
+#~ msgstr "SVN _Importer"
Modified: thunar-svn-plugin/trunk/po/hu.po
===================================================================
--- thunar-svn-plugin/trunk/po/hu.po 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/po/hu.po 2008-01-06 00:42:09 UTC (rev 3782)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: Thunar SVN plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-05 02:28+0100\n"
+"POT-Creation-Date: 2008-01-06 01:40+0100\n"
"PO-Revision-Date: 2007-06-04 08:37+0100\n"
"Last-Translator: SZERVÁC Attila <sas at 321.hu>\n"
"Language-Team: Hungarian\n"
@@ -14,120 +14,124 @@
"X-Poedit-Country: HUNGARY\n"
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:416 thunar-svn-plugin/tsp-provider.c:431
-#: thunar-svn-plugin/tsp-provider.c:466 thunar-svn-plugin/tsp-provider.c:474
+#. Lets see if we are dealing with a working copy
+#: thunar-svn-plugin/tsp-provider.c:431 thunar-svn-plugin/tsp-provider.c:462
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:421
-msgid "SVN _Import"
-msgstr "SVN _Import"
-
-#: thunar-svn-plugin/tsp-provider.c:479
-msgid "SVN _Checkout"
-msgstr "SVN _Checkout"
-
-#: thunar-svn-plugin/tsp-provider.c:486
-#, fuzzy
-msgid "SVN _Export"
-msgstr "SVN _Import"
-
-#: thunar-svn-plugin/tsp-svn-action.c:254 tsp-svn-helper/main.c:207
+#: thunar-svn-plugin/tsp-svn-action.c:268 tsp-svn-helper/main.c:207
#: tsp-svn-helper/tsh-add.c:94
msgid "Add"
msgstr "Hozzáad"
-#: thunar-svn-plugin/tsp-svn-action.c:262
+#: thunar-svn-plugin/tsp-svn-action.c:280
+#: thunar-svn-plugin/tsp-svn-action.c:281
msgid "Blame"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:280 tsp-svn-helper/main.c:215
+#: thunar-svn-plugin/tsp-svn-action.c:295 tsp-svn-helper/main.c:211
+#: tsp-svn-helper/tsh-checkout.c:86 tsp-svn-helper/tsh-checkout.c:98
+#, fuzzy
+msgid "Checkout"
+msgstr "SVN _Checkout"
+
+#: thunar-svn-plugin/tsp-svn-action.c:307 tsp-svn-helper/main.c:215
msgid "Cleanup"
msgstr "Tisztít"
-#: thunar-svn-plugin/tsp-svn-action.c:288 tsp-svn-helper/main.c:219
+#: thunar-svn-plugin/tsp-svn-action.c:319 tsp-svn-helper/main.c:219
#: tsp-svn-helper/tsh-commit.c:101
msgid "Commit"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:296 tsp-svn-helper/main.c:223
+#: thunar-svn-plugin/tsp-svn-action.c:331 tsp-svn-helper/main.c:223
#: tsp-svn-helper/tsh-copy.c:127
#, fuzzy
msgid "Copy"
msgstr "Kész"
-#: thunar-svn-plugin/tsp-svn-action.c:304 tsp-svn-helper/main.c:227
+#: thunar-svn-plugin/tsp-svn-action.c:343 tsp-svn-helper/main.c:227
#: tsp-svn-helper/tsh-delete.c:101
msgid "Delete"
msgstr "Töröl"
-#: thunar-svn-plugin/tsp-svn-action.c:312
+#: thunar-svn-plugin/tsp-svn-action.c:355
+#: thunar-svn-plugin/tsp-svn-action.c:358
msgid "Diff"
msgstr "Különbség"
-#: thunar-svn-plugin/tsp-svn-action.c:320 tsp-svn-helper/main.c:231
+#: thunar-svn-plugin/tsp-svn-action.c:367 tsp-svn-helper/main.c:231
#: tsp-svn-helper/tsh-export.c:95 tsp-svn-helper/tsh-export.c:113
msgid "Export"
msgstr "Export"
-#: thunar-svn-plugin/tsp-svn-action.c:333
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:235
+#: tsp-svn-helper/tsh-import.c:86 tsp-svn-helper/tsh-import.c:104
+#, fuzzy
+msgid "Import"
+msgstr "SVN _Import"
+
+#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:394
msgid "Info"
msgstr "Adatok"
-#: thunar-svn-plugin/tsp-svn-action.c:346 tsp-svn-helper/main.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:408 tsp-svn-helper/main.c:239
#: tsp-svn-helper/tsh-lock.c:118 tsp-svn-helper/tsh-lock-dialog.c:72
msgid "Lock"
msgstr "Zár"
-#: thunar-svn-plugin/tsp-svn-action.c:354 tsp-svn-helper/main.c:243
+#: thunar-svn-plugin/tsp-svn-action.c:420 tsp-svn-helper/main.c:243
#: tsp-svn-helper/tsh-log-dialog.c:201
msgid "Log"
msgstr "Napló"
-#: thunar-svn-plugin/tsp-svn-action.c:372 tsp-svn-helper/main.c:247
+#: thunar-svn-plugin/tsp-svn-action.c:441 tsp-svn-helper/main.c:247
#: tsp-svn-helper/tsh-move.c:126
msgid "Move"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:386
+#: thunar-svn-plugin/tsp-svn-action.c:459
msgid "Edit Properties"
msgstr "Tulajdonságok szerkesztése"
-#: thunar-svn-plugin/tsp-svn-action.c:395 tsp-svn-helper/main.c:255
+#: thunar-svn-plugin/tsp-svn-action.c:472 tsp-svn-helper/main.c:255
#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-resolved.c:94
#, fuzzy
msgid "Resolved"
msgstr "Megold"
-#: thunar-svn-plugin/tsp-svn-action.c:403
+#: thunar-svn-plugin/tsp-svn-action.c:484
+#: thunar-svn-plugin/tsp-svn-action.c:487
msgid "Resolve"
msgstr "Megold"
-#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:259
+#: thunar-svn-plugin/tsp-svn-action.c:496 tsp-svn-helper/main.c:259
#: tsp-svn-helper/tsh-revert.c:99
msgid "Revert"
msgstr "Visszaállít"
-#: thunar-svn-plugin/tsp-svn-action.c:419 tsp-svn-helper/main.c:263
+#: thunar-svn-plugin/tsp-svn-action.c:508 tsp-svn-helper/main.c:263
#: tsp-svn-helper/tsh-status-dialog.c:184
msgid "Status"
msgstr "Állapot"
-#: thunar-svn-plugin/tsp-svn-action.c:427
+#: thunar-svn-plugin/tsp-svn-action.c:520
+#: thunar-svn-plugin/tsp-svn-action.c:523
msgid "Switch"
msgstr "Vált"
-#: thunar-svn-plugin/tsp-svn-action.c:435 tsp-svn-helper/main.c:267
+#: thunar-svn-plugin/tsp-svn-action.c:532 tsp-svn-helper/main.c:267
#: tsp-svn-helper/tsh-unlock.c:99
msgid "Unlock"
msgstr "Felold"
-#: thunar-svn-plugin/tsp-svn-action.c:443 tsp-svn-helper/main.c:271
+#: thunar-svn-plugin/tsp-svn-action.c:542 tsp-svn-helper/main.c:271
#: tsp-svn-helper/tsh-update.c:101
msgid "Update"
msgstr "Frissít"
-#: thunar-svn-plugin/tsp-svn-action.c:456
+#: thunar-svn-plugin/tsp-svn-action.c:559
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -322,12 +326,6 @@
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:211 tsp-svn-helper/tsh-checkout.c:86
-#: tsp-svn-helper/tsh-checkout.c:98
-#, fuzzy
-msgid "Checkout"
-msgstr "SVN _Checkout"
-
#: tsp-svn-helper/main.c:215
msgid "Cleanup Related Opions:"
msgstr ""
@@ -352,12 +350,6 @@
msgid "Import Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:235 tsp-svn-helper/tsh-import.c:86
-#: tsp-svn-helper/tsh-import.c:104
-#, fuzzy
-msgid "Import"
-msgstr "SVN _Import"
-
#: tsp-svn-helper/main.c:239
msgid "Lock Related Opions:"
msgstr ""
@@ -710,3 +702,13 @@
#: tsp-svn-helper/tsh-trust-dialog.c:77
msgid "Trust"
msgstr ""
+
+#~ msgid "SVN _Import"
+#~ msgstr "SVN _Import"
+
+#~ msgid "SVN _Checkout"
+#~ msgstr "SVN _Checkout"
+
+#, fuzzy
+#~ msgid "SVN _Export"
+#~ msgstr "SVN _Import"
Modified: thunar-svn-plugin/trunk/po/lv.po
===================================================================
--- thunar-svn-plugin/trunk/po/lv.po 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/po/lv.po 2008-01-06 00:42:09 UTC (rev 3782)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-05 02:28+0100\n"
+"POT-Creation-Date: 2008-01-06 01:40+0100\n"
"PO-Revision-Date: 2007-11-15 21:18+0300\n"
"Last-Translator: Rihards Priedītis <rprieditis at inbox.lv>\n"
"Language-Team: Latvian <rprieditis at inbox.lv>\n"
@@ -16,120 +16,123 @@
"Content-Transfer-Encoding: 8bit\n"
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:416 thunar-svn-plugin/tsp-provider.c:431
-#: thunar-svn-plugin/tsp-provider.c:466 thunar-svn-plugin/tsp-provider.c:474
+#. Lets see if we are dealing with a working copy
+#: thunar-svn-plugin/tsp-provider.c:431 thunar-svn-plugin/tsp-provider.c:462
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:421
-msgid "SVN _Import"
-msgstr "SVN _Imports"
-
-#: thunar-svn-plugin/tsp-provider.c:479
-msgid "SVN _Checkout"
-msgstr "SVN _Izrakstīšana"
-
-#: thunar-svn-plugin/tsp-provider.c:486
-#, fuzzy
-msgid "SVN _Export"
-msgstr "SVN _Imports"
-
-#: thunar-svn-plugin/tsp-svn-action.c:254 tsp-svn-helper/main.c:207
+#: thunar-svn-plugin/tsp-svn-action.c:268 tsp-svn-helper/main.c:207
#: tsp-svn-helper/tsh-add.c:94
msgid "Add"
msgstr "Pievienot"
-#: thunar-svn-plugin/tsp-svn-action.c:262
+#: thunar-svn-plugin/tsp-svn-action.c:280
+#: thunar-svn-plugin/tsp-svn-action.c:281
msgid "Blame"
msgstr "Vainot"
-#: thunar-svn-plugin/tsp-svn-action.c:280 tsp-svn-helper/main.c:215
+#: thunar-svn-plugin/tsp-svn-action.c:295 tsp-svn-helper/main.c:211
+#: tsp-svn-helper/tsh-checkout.c:86 tsp-svn-helper/tsh-checkout.c:98
+msgid "Checkout"
+msgstr "Izrakstīt"
+
+#: thunar-svn-plugin/tsp-svn-action.c:307 tsp-svn-helper/main.c:215
msgid "Cleanup"
msgstr "Uzkopt"
-#: thunar-svn-plugin/tsp-svn-action.c:288 tsp-svn-helper/main.c:219
+#: thunar-svn-plugin/tsp-svn-action.c:319 tsp-svn-helper/main.c:219
#: tsp-svn-helper/tsh-commit.c:101
msgid "Commit"
msgstr "Apstiprināt"
-#: thunar-svn-plugin/tsp-svn-action.c:296 tsp-svn-helper/main.c:223
+#: thunar-svn-plugin/tsp-svn-action.c:331 tsp-svn-helper/main.c:223
#: tsp-svn-helper/tsh-copy.c:127
#, fuzzy
msgid "Copy"
msgstr "Pabeigts"
-#: thunar-svn-plugin/tsp-svn-action.c:304 tsp-svn-helper/main.c:227
+#: thunar-svn-plugin/tsp-svn-action.c:343 tsp-svn-helper/main.c:227
#: tsp-svn-helper/tsh-delete.c:101
msgid "Delete"
msgstr "Dzēst"
-#: thunar-svn-plugin/tsp-svn-action.c:312
+#: thunar-svn-plugin/tsp-svn-action.c:355
+#: thunar-svn-plugin/tsp-svn-action.c:358
msgid "Diff"
msgstr "Atšķirība"
-#: thunar-svn-plugin/tsp-svn-action.c:320 tsp-svn-helper/main.c:231
+#: thunar-svn-plugin/tsp-svn-action.c:367 tsp-svn-helper/main.c:231
#: tsp-svn-helper/tsh-export.c:95 tsp-svn-helper/tsh-export.c:113
msgid "Export"
msgstr "Eksportēt"
-#: thunar-svn-plugin/tsp-svn-action.c:333
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:235
+#: tsp-svn-helper/tsh-import.c:86 tsp-svn-helper/tsh-import.c:104
+#, fuzzy
+msgid "Import"
+msgstr "SVN _Imports"
+
+#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:394
msgid "Info"
msgstr "Informācija"
-#: thunar-svn-plugin/tsp-svn-action.c:346 tsp-svn-helper/main.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:408 tsp-svn-helper/main.c:239
#: tsp-svn-helper/tsh-lock.c:118 tsp-svn-helper/tsh-lock-dialog.c:72
msgid "Lock"
msgstr "Slēgt"
-#: thunar-svn-plugin/tsp-svn-action.c:354 tsp-svn-helper/main.c:243
+#: thunar-svn-plugin/tsp-svn-action.c:420 tsp-svn-helper/main.c:243
#: tsp-svn-helper/tsh-log-dialog.c:201
msgid "Log"
msgstr "Reģistrēt"
-#: thunar-svn-plugin/tsp-svn-action.c:372 tsp-svn-helper/main.c:247
+#: thunar-svn-plugin/tsp-svn-action.c:441 tsp-svn-helper/main.c:247
#: tsp-svn-helper/tsh-move.c:126
msgid "Move"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:386
+#: thunar-svn-plugin/tsp-svn-action.c:459
msgid "Edit Properties"
msgstr "Rediģēt Rekvizītus"
-#: thunar-svn-plugin/tsp-svn-action.c:395 tsp-svn-helper/main.c:255
+#: thunar-svn-plugin/tsp-svn-action.c:472 tsp-svn-helper/main.c:255
#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-resolved.c:94
#, fuzzy
msgid "Resolved"
msgstr "Atpazīt"
-#: thunar-svn-plugin/tsp-svn-action.c:403
+#: thunar-svn-plugin/tsp-svn-action.c:484
+#: thunar-svn-plugin/tsp-svn-action.c:487
msgid "Resolve"
msgstr "Atpazīt"
-#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:259
+#: thunar-svn-plugin/tsp-svn-action.c:496 tsp-svn-helper/main.c:259
#: tsp-svn-helper/tsh-revert.c:99
msgid "Revert"
msgstr "Atgriezt"
-#: thunar-svn-plugin/tsp-svn-action.c:419 tsp-svn-helper/main.c:263
+#: thunar-svn-plugin/tsp-svn-action.c:508 tsp-svn-helper/main.c:263
#: tsp-svn-helper/tsh-status-dialog.c:184
msgid "Status"
msgstr "Status"
-#: thunar-svn-plugin/tsp-svn-action.c:427
+#: thunar-svn-plugin/tsp-svn-action.c:520
+#: thunar-svn-plugin/tsp-svn-action.c:523
msgid "Switch"
msgstr "Pārslēgt"
-#: thunar-svn-plugin/tsp-svn-action.c:435 tsp-svn-helper/main.c:267
+#: thunar-svn-plugin/tsp-svn-action.c:532 tsp-svn-helper/main.c:267
#: tsp-svn-helper/tsh-unlock.c:99
msgid "Unlock"
msgstr "Atslēgt"
-#: thunar-svn-plugin/tsp-svn-action.c:443 tsp-svn-helper/main.c:271
+#: thunar-svn-plugin/tsp-svn-action.c:542 tsp-svn-helper/main.c:271
#: tsp-svn-helper/tsh-update.c:101
msgid "Update"
msgstr "Atjaunot"
-#: thunar-svn-plugin/tsp-svn-action.c:456
+#: thunar-svn-plugin/tsp-svn-action.c:559
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -324,11 +327,6 @@
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:211 tsp-svn-helper/tsh-checkout.c:86
-#: tsp-svn-helper/tsh-checkout.c:98
-msgid "Checkout"
-msgstr "Izrakstīt"
-
#: tsp-svn-helper/main.c:215
msgid "Cleanup Related Opions:"
msgstr ""
@@ -353,12 +351,6 @@
msgid "Import Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:235 tsp-svn-helper/tsh-import.c:86
-#: tsp-svn-helper/tsh-import.c:104
-#, fuzzy
-msgid "Import"
-msgstr "SVN _Imports"
-
#: tsp-svn-helper/main.c:239
msgid "Lock Related Opions:"
msgstr ""
@@ -714,3 +706,13 @@
#: tsp-svn-helper/tsh-trust-dialog.c:77
msgid "Trust"
msgstr ""
+
+#~ msgid "SVN _Import"
+#~ msgstr "SVN _Imports"
+
+#~ msgid "SVN _Checkout"
+#~ msgstr "SVN _Izrakstīšana"
+
+#, fuzzy
+#~ msgid "SVN _Export"
+#~ msgstr "SVN _Imports"
Modified: thunar-svn-plugin/trunk/po/nl.po
===================================================================
--- thunar-svn-plugin/trunk/po/nl.po 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/po/nl.po 2008-01-06 00:42:09 UTC (rev 3782)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-05 02:28+0100\n"
+"POT-Creation-Date: 2008-01-06 01:40+0100\n"
"PO-Revision-Date: 2008-01-05 02:31+0100\n"
"Last-Translator: Peter de Ridder <peter at xfce.org>\n"
"Language-Team: Dutch <xfce-i18n at xfce.org>\n"
@@ -16,117 +16,120 @@
"Content-Transfer-Encoding: 8bit\n"
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:416 thunar-svn-plugin/tsp-provider.c:431
-#: thunar-svn-plugin/tsp-provider.c:466 thunar-svn-plugin/tsp-provider.c:474
+#. Lets see if we are dealing with a working copy
+#: thunar-svn-plugin/tsp-provider.c:431 thunar-svn-plugin/tsp-provider.c:462
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:421
-msgid "SVN _Import"
-msgstr "SVN _Importeren"
-
-#: thunar-svn-plugin/tsp-provider.c:479
-msgid "SVN _Checkout"
-msgstr "SVN _Ophalen"
-
-#: thunar-svn-plugin/tsp-provider.c:486
-msgid "SVN _Export"
-msgstr "SVN _Exporteren"
-
-#: thunar-svn-plugin/tsp-svn-action.c:254 tsp-svn-helper/main.c:207
+#: thunar-svn-plugin/tsp-svn-action.c:268 tsp-svn-helper/main.c:207
#: tsp-svn-helper/tsh-add.c:94
msgid "Add"
msgstr "Toevoegen"
-#: thunar-svn-plugin/tsp-svn-action.c:262
+#: thunar-svn-plugin/tsp-svn-action.c:280
+#: thunar-svn-plugin/tsp-svn-action.c:281
msgid "Blame"
msgstr "Beschuldigen"
-#: thunar-svn-plugin/tsp-svn-action.c:280 tsp-svn-helper/main.c:215
+#: thunar-svn-plugin/tsp-svn-action.c:295 tsp-svn-helper/main.c:211
+#: tsp-svn-helper/tsh-checkout.c:86 tsp-svn-helper/tsh-checkout.c:98
+msgid "Checkout"
+msgstr "Ophalen"
+
+#: thunar-svn-plugin/tsp-svn-action.c:307 tsp-svn-helper/main.c:215
msgid "Cleanup"
msgstr "Opschonen"
-#: thunar-svn-plugin/tsp-svn-action.c:288 tsp-svn-helper/main.c:219
+#: thunar-svn-plugin/tsp-svn-action.c:319 tsp-svn-helper/main.c:219
#: tsp-svn-helper/tsh-commit.c:101
msgid "Commit"
msgstr "Versturen"
-#: thunar-svn-plugin/tsp-svn-action.c:296 tsp-svn-helper/main.c:223
+#: thunar-svn-plugin/tsp-svn-action.c:331 tsp-svn-helper/main.c:223
#: tsp-svn-helper/tsh-copy.c:127
msgid "Copy"
msgstr "Kopieeren"
-#: thunar-svn-plugin/tsp-svn-action.c:304 tsp-svn-helper/main.c:227
+#: thunar-svn-plugin/tsp-svn-action.c:343 tsp-svn-helper/main.c:227
#: tsp-svn-helper/tsh-delete.c:101
msgid "Delete"
msgstr "Verwijderen"
-#: thunar-svn-plugin/tsp-svn-action.c:312
+#: thunar-svn-plugin/tsp-svn-action.c:355
+#: thunar-svn-plugin/tsp-svn-action.c:358
msgid "Diff"
msgstr "Verschillen"
-#: thunar-svn-plugin/tsp-svn-action.c:320 tsp-svn-helper/main.c:231
+#: thunar-svn-plugin/tsp-svn-action.c:367 tsp-svn-helper/main.c:231
#: tsp-svn-helper/tsh-export.c:95 tsp-svn-helper/tsh-export.c:113
msgid "Export"
msgstr "Exporteren"
-#: thunar-svn-plugin/tsp-svn-action.c:333
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:235
+#: tsp-svn-helper/tsh-import.c:86 tsp-svn-helper/tsh-import.c:104
+msgid "Import"
+msgstr "Importeren"
+
+#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:394
msgid "Info"
msgstr "Informatie"
-#: thunar-svn-plugin/tsp-svn-action.c:346 tsp-svn-helper/main.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:408 tsp-svn-helper/main.c:239
#: tsp-svn-helper/tsh-lock.c:118 tsp-svn-helper/tsh-lock-dialog.c:72
msgid "Lock"
msgstr "Vast Zetten"
-#: thunar-svn-plugin/tsp-svn-action.c:354 tsp-svn-helper/main.c:243
+#: thunar-svn-plugin/tsp-svn-action.c:420 tsp-svn-helper/main.c:243
#: tsp-svn-helper/tsh-log-dialog.c:201
msgid "Log"
msgstr "Geschiedenis"
-#: thunar-svn-plugin/tsp-svn-action.c:372 tsp-svn-helper/main.c:247
+#: thunar-svn-plugin/tsp-svn-action.c:441 tsp-svn-helper/main.c:247
#: tsp-svn-helper/tsh-move.c:126
msgid "Move"
msgstr "Verplaatsen"
-#: thunar-svn-plugin/tsp-svn-action.c:386
+#: thunar-svn-plugin/tsp-svn-action.c:459
msgid "Edit Properties"
msgstr "Attributen Wijzigen"
-#: thunar-svn-plugin/tsp-svn-action.c:395 tsp-svn-helper/main.c:255
+#: thunar-svn-plugin/tsp-svn-action.c:472 tsp-svn-helper/main.c:255
#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-resolved.c:94
msgid "Resolved"
msgstr "Opgelost"
-#: thunar-svn-plugin/tsp-svn-action.c:403
+#: thunar-svn-plugin/tsp-svn-action.c:484
+#: thunar-svn-plugin/tsp-svn-action.c:487
msgid "Resolve"
msgstr "Verhelpen"
-#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:259
+#: thunar-svn-plugin/tsp-svn-action.c:496 tsp-svn-helper/main.c:259
#: tsp-svn-helper/tsh-revert.c:99
msgid "Revert"
msgstr "Terug Halen"
-#: thunar-svn-plugin/tsp-svn-action.c:419 tsp-svn-helper/main.c:263
+#: thunar-svn-plugin/tsp-svn-action.c:508 tsp-svn-helper/main.c:263
#: tsp-svn-helper/tsh-status-dialog.c:184
msgid "Status"
msgstr "Status"
-#: thunar-svn-plugin/tsp-svn-action.c:427
+#: thunar-svn-plugin/tsp-svn-action.c:520
+#: thunar-svn-plugin/tsp-svn-action.c:523
msgid "Switch"
msgstr "Omschakelen"
-#: thunar-svn-plugin/tsp-svn-action.c:435 tsp-svn-helper/main.c:267
+#: thunar-svn-plugin/tsp-svn-action.c:532 tsp-svn-helper/main.c:267
#: tsp-svn-helper/tsh-unlock.c:99
msgid "Unlock"
msgstr "Vrijgeven"
-#: thunar-svn-plugin/tsp-svn-action.c:443 tsp-svn-helper/main.c:271
+#: thunar-svn-plugin/tsp-svn-action.c:542 tsp-svn-helper/main.c:271
#: tsp-svn-helper/tsh-update.c:101
msgid "Update"
msgstr "Bijwerken"
-#: thunar-svn-plugin/tsp-svn-action.c:456
+#: thunar-svn-plugin/tsp-svn-action.c:559
#, c-format
msgid "Action %s is unimplemented"
msgstr "Actie %s is niet geimplementeerd"
@@ -304,11 +307,6 @@
msgid "Checkout Related Opions:"
msgstr "Ophalen gerelateerde opties:"
-#: tsp-svn-helper/main.c:211 tsp-svn-helper/tsh-checkout.c:86
-#: tsp-svn-helper/tsh-checkout.c:98
-msgid "Checkout"
-msgstr "Ophalen"
-
#: tsp-svn-helper/main.c:215
msgid "Cleanup Related Opions:"
msgstr "Opschonen gerelateerde opties:"
@@ -333,11 +331,6 @@
msgid "Import Related Opions:"
msgstr "Importeer gerelateerde opties:"
-#: tsp-svn-helper/main.c:235 tsp-svn-helper/tsh-import.c:86
-#: tsp-svn-helper/tsh-import.c:104
-msgid "Import"
-msgstr "Importeren"
-
#: tsp-svn-helper/main.c:239
msgid "Lock Related Opions:"
msgstr "Vast zetten gerelateerde opties:"
@@ -672,3 +665,12 @@
#: tsp-svn-helper/tsh-trust-dialog.c:77
msgid "Trust"
msgstr "Vertrouwen"
+
+#~ msgid "SVN _Import"
+#~ msgstr "SVN _Importeren"
+
+#~ msgid "SVN _Checkout"
+#~ msgstr "SVN _Ophalen"
+
+#~ msgid "SVN _Export"
+#~ msgstr "SVN _Exporteren"
Modified: thunar-svn-plugin/trunk/po/pt_BR.po
===================================================================
--- thunar-svn-plugin/trunk/po/pt_BR.po 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/po/pt_BR.po 2008-01-06 00:42:09 UTC (rev 3782)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-05 02:28+0100\n"
+"POT-Creation-Date: 2008-01-06 01:40+0100\n"
"PO-Revision-Date: 2007-11-09 15:08-0300\n"
"Last-Translator: Fábio Nogueira <deb-user-ba at ubuntu.com>\n"
"Language-Team: Brazilian Portuguese <ldp-br at bazar2.conectiva.com.br>\n"
@@ -17,120 +17,123 @@
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:416 thunar-svn-plugin/tsp-provider.c:431
-#: thunar-svn-plugin/tsp-provider.c:466 thunar-svn-plugin/tsp-provider.c:474
+#. Lets see if we are dealing with a working copy
+#: thunar-svn-plugin/tsp-provider.c:431 thunar-svn-plugin/tsp-provider.c:462
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:421
-msgid "SVN _Import"
-msgstr "_Importar SVN"
-
-#: thunar-svn-plugin/tsp-provider.c:479
-msgid "SVN _Checkout"
-msgstr "SVN _Checkout"
-
-#: thunar-svn-plugin/tsp-provider.c:486
-#, fuzzy
-msgid "SVN _Export"
-msgstr "_Importar SVN"
-
-#: thunar-svn-plugin/tsp-svn-action.c:254 tsp-svn-helper/main.c:207
+#: thunar-svn-plugin/tsp-svn-action.c:268 tsp-svn-helper/main.c:207
#: tsp-svn-helper/tsh-add.c:94
msgid "Add"
msgstr "Adicionar"
-#: thunar-svn-plugin/tsp-svn-action.c:262
+#: thunar-svn-plugin/tsp-svn-action.c:280
+#: thunar-svn-plugin/tsp-svn-action.c:281
msgid "Blame"
msgstr "Falha"
-#: thunar-svn-plugin/tsp-svn-action.c:280 tsp-svn-helper/main.c:215
+#: thunar-svn-plugin/tsp-svn-action.c:295 tsp-svn-helper/main.c:211
+#: tsp-svn-helper/tsh-checkout.c:86 tsp-svn-helper/tsh-checkout.c:98
+msgid "Checkout"
+msgstr "Checkout"
+
+#: thunar-svn-plugin/tsp-svn-action.c:307 tsp-svn-helper/main.c:215
msgid "Cleanup"
msgstr "Limpar"
-#: thunar-svn-plugin/tsp-svn-action.c:288 tsp-svn-helper/main.c:219
+#: thunar-svn-plugin/tsp-svn-action.c:319 tsp-svn-helper/main.c:219
#: tsp-svn-helper/tsh-commit.c:101
msgid "Commit"
msgstr "Enviar"
-#: thunar-svn-plugin/tsp-svn-action.c:296 tsp-svn-helper/main.c:223
+#: thunar-svn-plugin/tsp-svn-action.c:331 tsp-svn-helper/main.c:223
#: tsp-svn-helper/tsh-copy.c:127
#, fuzzy
msgid "Copy"
msgstr "Completado"
-#: thunar-svn-plugin/tsp-svn-action.c:304 tsp-svn-helper/main.c:227
+#: thunar-svn-plugin/tsp-svn-action.c:343 tsp-svn-helper/main.c:227
#: tsp-svn-helper/tsh-delete.c:101
msgid "Delete"
msgstr "Apagar"
-#: thunar-svn-plugin/tsp-svn-action.c:312
+#: thunar-svn-plugin/tsp-svn-action.c:355
+#: thunar-svn-plugin/tsp-svn-action.c:358
msgid "Diff"
msgstr "Diferença"
-#: thunar-svn-plugin/tsp-svn-action.c:320 tsp-svn-helper/main.c:231
+#: thunar-svn-plugin/tsp-svn-action.c:367 tsp-svn-helper/main.c:231
#: tsp-svn-helper/tsh-export.c:95 tsp-svn-helper/tsh-export.c:113
msgid "Export"
msgstr "Exportar"
-#: thunar-svn-plugin/tsp-svn-action.c:333
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:235
+#: tsp-svn-helper/tsh-import.c:86 tsp-svn-helper/tsh-import.c:104
+#, fuzzy
+msgid "Import"
+msgstr "_Importar SVN"
+
+#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:394
msgid "Info"
msgstr "Informações"
-#: thunar-svn-plugin/tsp-svn-action.c:346 tsp-svn-helper/main.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:408 tsp-svn-helper/main.c:239
#: tsp-svn-helper/tsh-lock.c:118 tsp-svn-helper/tsh-lock-dialog.c:72
msgid "Lock"
msgstr "Travar"
-#: thunar-svn-plugin/tsp-svn-action.c:354 tsp-svn-helper/main.c:243
+#: thunar-svn-plugin/tsp-svn-action.c:420 tsp-svn-helper/main.c:243
#: tsp-svn-helper/tsh-log-dialog.c:201
msgid "Log"
msgstr "Log"
-#: thunar-svn-plugin/tsp-svn-action.c:372 tsp-svn-helper/main.c:247
+#: thunar-svn-plugin/tsp-svn-action.c:441 tsp-svn-helper/main.c:247
#: tsp-svn-helper/tsh-move.c:126
msgid "Move"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:386
+#: thunar-svn-plugin/tsp-svn-action.c:459
msgid "Edit Properties"
msgstr "Editar Propriedades"
-#: thunar-svn-plugin/tsp-svn-action.c:395 tsp-svn-helper/main.c:255
+#: thunar-svn-plugin/tsp-svn-action.c:472 tsp-svn-helper/main.c:255
#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-resolved.c:94
#, fuzzy
msgid "Resolved"
msgstr "Resolver"
-#: thunar-svn-plugin/tsp-svn-action.c:403
+#: thunar-svn-plugin/tsp-svn-action.c:484
+#: thunar-svn-plugin/tsp-svn-action.c:487
msgid "Resolve"
msgstr "Resolver"
-#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:259
+#: thunar-svn-plugin/tsp-svn-action.c:496 tsp-svn-helper/main.c:259
#: tsp-svn-helper/tsh-revert.c:99
msgid "Revert"
msgstr "Reverter"
-#: thunar-svn-plugin/tsp-svn-action.c:419 tsp-svn-helper/main.c:263
+#: thunar-svn-plugin/tsp-svn-action.c:508 tsp-svn-helper/main.c:263
#: tsp-svn-helper/tsh-status-dialog.c:184
msgid "Status"
msgstr "Status"
-#: thunar-svn-plugin/tsp-svn-action.c:427
+#: thunar-svn-plugin/tsp-svn-action.c:520
+#: thunar-svn-plugin/tsp-svn-action.c:523
msgid "Switch"
msgstr "Alternar"
-#: thunar-svn-plugin/tsp-svn-action.c:435 tsp-svn-helper/main.c:267
+#: thunar-svn-plugin/tsp-svn-action.c:532 tsp-svn-helper/main.c:267
#: tsp-svn-helper/tsh-unlock.c:99
msgid "Unlock"
msgstr "Destravar"
-#: thunar-svn-plugin/tsp-svn-action.c:443 tsp-svn-helper/main.c:271
+#: thunar-svn-plugin/tsp-svn-action.c:542 tsp-svn-helper/main.c:271
#: tsp-svn-helper/tsh-update.c:101
msgid "Update"
msgstr "Atualizar"
-#: thunar-svn-plugin/tsp-svn-action.c:456
+#: thunar-svn-plugin/tsp-svn-action.c:559
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -325,11 +328,6 @@
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:211 tsp-svn-helper/tsh-checkout.c:86
-#: tsp-svn-helper/tsh-checkout.c:98
-msgid "Checkout"
-msgstr "Checkout"
-
#: tsp-svn-helper/main.c:215
msgid "Cleanup Related Opions:"
msgstr ""
@@ -354,12 +352,6 @@
msgid "Import Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:235 tsp-svn-helper/tsh-import.c:86
-#: tsp-svn-helper/tsh-import.c:104
-#, fuzzy
-msgid "Import"
-msgstr "_Importar SVN"
-
#: tsp-svn-helper/main.c:239
msgid "Lock Related Opions:"
msgstr ""
@@ -715,3 +707,13 @@
#: tsp-svn-helper/tsh-trust-dialog.c:77
msgid "Trust"
msgstr ""
+
+#~ msgid "SVN _Import"
+#~ msgstr "_Importar SVN"
+
+#~ msgid "SVN _Checkout"
+#~ msgstr "SVN _Checkout"
+
+#, fuzzy
+#~ msgid "SVN _Export"
+#~ msgstr "_Importar SVN"
Modified: thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot
===================================================================
--- thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot 2008-01-06 00:42:09 UTC (rev 3782)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-05 02:28+0100\n"
+"POT-Creation-Date: 2008-01-06 01:40+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -17,117 +17,120 @@
"Content-Transfer-Encoding: 8bit\n"
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:416 thunar-svn-plugin/tsp-provider.c:431
-#: thunar-svn-plugin/tsp-provider.c:466 thunar-svn-plugin/tsp-provider.c:474
+#. Lets see if we are dealing with a working copy
+#: thunar-svn-plugin/tsp-provider.c:431 thunar-svn-plugin/tsp-provider.c:462
msgid "SVN"
msgstr ""
-#: thunar-svn-plugin/tsp-provider.c:421
-msgid "SVN _Import"
-msgstr ""
-
-#: thunar-svn-plugin/tsp-provider.c:479
-msgid "SVN _Checkout"
-msgstr ""
-
-#: thunar-svn-plugin/tsp-provider.c:486
-msgid "SVN _Export"
-msgstr ""
-
-#: thunar-svn-plugin/tsp-svn-action.c:254 tsp-svn-helper/main.c:207
+#: thunar-svn-plugin/tsp-svn-action.c:268 tsp-svn-helper/main.c:207
#: tsp-svn-helper/tsh-add.c:94
msgid "Add"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:262
+#: thunar-svn-plugin/tsp-svn-action.c:280
+#: thunar-svn-plugin/tsp-svn-action.c:281
msgid "Blame"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:280 tsp-svn-helper/main.c:215
+#: thunar-svn-plugin/tsp-svn-action.c:295 tsp-svn-helper/main.c:211
+#: tsp-svn-helper/tsh-checkout.c:86 tsp-svn-helper/tsh-checkout.c:98
+msgid "Checkout"
+msgstr ""
+
+#: thunar-svn-plugin/tsp-svn-action.c:307 tsp-svn-helper/main.c:215
msgid "Cleanup"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:288 tsp-svn-helper/main.c:219
+#: thunar-svn-plugin/tsp-svn-action.c:319 tsp-svn-helper/main.c:219
#: tsp-svn-helper/tsh-commit.c:101
msgid "Commit"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:296 tsp-svn-helper/main.c:223
+#: thunar-svn-plugin/tsp-svn-action.c:331 tsp-svn-helper/main.c:223
#: tsp-svn-helper/tsh-copy.c:127
msgid "Copy"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:304 tsp-svn-helper/main.c:227
+#: thunar-svn-plugin/tsp-svn-action.c:343 tsp-svn-helper/main.c:227
#: tsp-svn-helper/tsh-delete.c:101
msgid "Delete"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:312
+#: thunar-svn-plugin/tsp-svn-action.c:355
+#: thunar-svn-plugin/tsp-svn-action.c:358
msgid "Diff"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:320 tsp-svn-helper/main.c:231
+#: thunar-svn-plugin/tsp-svn-action.c:367 tsp-svn-helper/main.c:231
#: tsp-svn-helper/tsh-export.c:95 tsp-svn-helper/tsh-export.c:113
msgid "Export"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:333
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:235
+#: tsp-svn-helper/tsh-import.c:86 tsp-svn-helper/tsh-import.c:104
+msgid "Import"
+msgstr ""
+
+#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:394
msgid "Info"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:346 tsp-svn-helper/main.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:408 tsp-svn-helper/main.c:239
#: tsp-svn-helper/tsh-lock.c:118 tsp-svn-helper/tsh-lock-dialog.c:72
msgid "Lock"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:354 tsp-svn-helper/main.c:243
+#: thunar-svn-plugin/tsp-svn-action.c:420 tsp-svn-helper/main.c:243
#: tsp-svn-helper/tsh-log-dialog.c:201
msgid "Log"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:372 tsp-svn-helper/main.c:247
+#: thunar-svn-plugin/tsp-svn-action.c:441 tsp-svn-helper/main.c:247
#: tsp-svn-helper/tsh-move.c:126
msgid "Move"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:386
+#: thunar-svn-plugin/tsp-svn-action.c:459
msgid "Edit Properties"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:395 tsp-svn-helper/main.c:255
+#: thunar-svn-plugin/tsp-svn-action.c:472 tsp-svn-helper/main.c:255
#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-resolved.c:94
msgid "Resolved"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:403
+#: thunar-svn-plugin/tsp-svn-action.c:484
+#: thunar-svn-plugin/tsp-svn-action.c:487
msgid "Resolve"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:259
+#: thunar-svn-plugin/tsp-svn-action.c:496 tsp-svn-helper/main.c:259
#: tsp-svn-helper/tsh-revert.c:99
msgid "Revert"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:419 tsp-svn-helper/main.c:263
+#: thunar-svn-plugin/tsp-svn-action.c:508 tsp-svn-helper/main.c:263
#: tsp-svn-helper/tsh-status-dialog.c:184
msgid "Status"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:427
+#: thunar-svn-plugin/tsp-svn-action.c:520
+#: thunar-svn-plugin/tsp-svn-action.c:523
msgid "Switch"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:435 tsp-svn-helper/main.c:267
+#: thunar-svn-plugin/tsp-svn-action.c:532 tsp-svn-helper/main.c:267
#: tsp-svn-helper/tsh-unlock.c:99
msgid "Unlock"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:443 tsp-svn-helper/main.c:271
+#: thunar-svn-plugin/tsp-svn-action.c:542 tsp-svn-helper/main.c:271
#: tsp-svn-helper/tsh-update.c:101
msgid "Update"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:456
+#: thunar-svn-plugin/tsp-svn-action.c:559
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -305,11 +308,6 @@
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:211 tsp-svn-helper/tsh-checkout.c:86
-#: tsp-svn-helper/tsh-checkout.c:98
-msgid "Checkout"
-msgstr ""
-
#: tsp-svn-helper/main.c:215
msgid "Cleanup Related Opions:"
msgstr ""
@@ -334,11 +332,6 @@
msgid "Import Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:235 tsp-svn-helper/tsh-import.c:86
-#: tsp-svn-helper/tsh-import.c:104
-msgid "Import"
-msgstr ""
-
#: tsp-svn-helper/main.c:239
msgid "Lock Related Opions:"
msgstr ""
Modified: thunar-svn-plugin/trunk/po/ur.po
===================================================================
--- thunar-svn-plugin/trunk/po/ur.po 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/po/ur.po 2008-01-06 00:42:09 UTC (rev 3782)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-01-05 02:28+0100\n"
+"POT-Creation-Date: 2008-01-06 01:40+0100\n"
"PO-Revision-Date: 2007-10-26 15:12+0500\n"
"Last-Translator: Muhammad Ali Makki <makk.ma at gmail.com>\n"
"Language-Team: Urdu <makki.ma at gmail.com>\n"
@@ -19,120 +19,123 @@
"X-Poedit-SourceCharset: utf-8\n"
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:416 thunar-svn-plugin/tsp-provider.c:431
-#: thunar-svn-plugin/tsp-provider.c:466 thunar-svn-plugin/tsp-provider.c:474
+#. Lets see if we are dealing with a working copy
+#: thunar-svn-plugin/tsp-provider.c:431 thunar-svn-plugin/tsp-provider.c:462
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:421
-msgid "SVN _Import"
-msgstr "SVN _درآمد"
-
-#: thunar-svn-plugin/tsp-provider.c:479
-msgid "SVN _Checkout"
-msgstr "SVN _چیک آؤٹ"
-
-#: thunar-svn-plugin/tsp-provider.c:486
-#, fuzzy
-msgid "SVN _Export"
-msgstr "SVN _درآمد"
-
-#: thunar-svn-plugin/tsp-svn-action.c:254 tsp-svn-helper/main.c:207
+#: thunar-svn-plugin/tsp-svn-action.c:268 tsp-svn-helper/main.c:207
#: tsp-svn-helper/tsh-add.c:94
msgid "Add"
msgstr "شامل کریں"
-#: thunar-svn-plugin/tsp-svn-action.c:262
+#: thunar-svn-plugin/tsp-svn-action.c:280
+#: thunar-svn-plugin/tsp-svn-action.c:281
msgid "Blame"
msgstr "Blame"
-#: thunar-svn-plugin/tsp-svn-action.c:280 tsp-svn-helper/main.c:215
+#: thunar-svn-plugin/tsp-svn-action.c:295 tsp-svn-helper/main.c:211
+#: tsp-svn-helper/tsh-checkout.c:86 tsp-svn-helper/tsh-checkout.c:98
+msgid "Checkout"
+msgstr "چیک کریں"
+
+#: thunar-svn-plugin/tsp-svn-action.c:307 tsp-svn-helper/main.c:215
msgid "Cleanup"
msgstr "صاف کریں"
-#: thunar-svn-plugin/tsp-svn-action.c:288 tsp-svn-helper/main.c:219
+#: thunar-svn-plugin/tsp-svn-action.c:319 tsp-svn-helper/main.c:219
#: tsp-svn-helper/tsh-commit.c:101
msgid "Commit"
msgstr "تبصرہ"
-#: thunar-svn-plugin/tsp-svn-action.c:296 tsp-svn-helper/main.c:223
+#: thunar-svn-plugin/tsp-svn-action.c:331 tsp-svn-helper/main.c:223
#: tsp-svn-helper/tsh-copy.c:127
#, fuzzy
msgid "Copy"
msgstr "مکمل"
-#: thunar-svn-plugin/tsp-svn-action.c:304 tsp-svn-helper/main.c:227
+#: thunar-svn-plugin/tsp-svn-action.c:343 tsp-svn-helper/main.c:227
#: tsp-svn-helper/tsh-delete.c:101
msgid "Delete"
msgstr "حذف"
-#: thunar-svn-plugin/tsp-svn-action.c:312
+#: thunar-svn-plugin/tsp-svn-action.c:355
+#: thunar-svn-plugin/tsp-svn-action.c:358
msgid "Diff"
msgstr "فرق"
-#: thunar-svn-plugin/tsp-svn-action.c:320 tsp-svn-helper/main.c:231
+#: thunar-svn-plugin/tsp-svn-action.c:367 tsp-svn-helper/main.c:231
#: tsp-svn-helper/tsh-export.c:95 tsp-svn-helper/tsh-export.c:113
msgid "Export"
msgstr "برآمد"
-#: thunar-svn-plugin/tsp-svn-action.c:333
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:235
+#: tsp-svn-helper/tsh-import.c:86 tsp-svn-helper/tsh-import.c:104
+#, fuzzy
+msgid "Import"
+msgstr "SVN _درآمد"
+
+#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:394
msgid "Info"
msgstr "معلومات"
-#: thunar-svn-plugin/tsp-svn-action.c:346 tsp-svn-helper/main.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:408 tsp-svn-helper/main.c:239
#: tsp-svn-helper/tsh-lock.c:118 tsp-svn-helper/tsh-lock-dialog.c:72
msgid "Lock"
msgstr "قفل"
-#: thunar-svn-plugin/tsp-svn-action.c:354 tsp-svn-helper/main.c:243
+#: thunar-svn-plugin/tsp-svn-action.c:420 tsp-svn-helper/main.c:243
#: tsp-svn-helper/tsh-log-dialog.c:201
msgid "Log"
msgstr "Log"
-#: thunar-svn-plugin/tsp-svn-action.c:372 tsp-svn-helper/main.c:247
+#: thunar-svn-plugin/tsp-svn-action.c:441 tsp-svn-helper/main.c:247
#: tsp-svn-helper/tsh-move.c:126
msgid "Move"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:386
+#: thunar-svn-plugin/tsp-svn-action.c:459
msgid "Edit Properties"
msgstr "خصوصیات مدون کریں"
-#: thunar-svn-plugin/tsp-svn-action.c:395 tsp-svn-helper/main.c:255
+#: thunar-svn-plugin/tsp-svn-action.c:472 tsp-svn-helper/main.c:255
#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-resolved.c:94
#, fuzzy
msgid "Resolved"
msgstr "Resolve"
-#: thunar-svn-plugin/tsp-svn-action.c:403
+#: thunar-svn-plugin/tsp-svn-action.c:484
+#: thunar-svn-plugin/tsp-svn-action.c:487
msgid "Resolve"
msgstr "Resolve"
-#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:259
+#: thunar-svn-plugin/tsp-svn-action.c:496 tsp-svn-helper/main.c:259
#: tsp-svn-helper/tsh-revert.c:99
msgid "Revert"
msgstr "واپس"
-#: thunar-svn-plugin/tsp-svn-action.c:419 tsp-svn-helper/main.c:263
+#: thunar-svn-plugin/tsp-svn-action.c:508 tsp-svn-helper/main.c:263
#: tsp-svn-helper/tsh-status-dialog.c:184
msgid "Status"
msgstr "حالت"
-#: thunar-svn-plugin/tsp-svn-action.c:427
+#: thunar-svn-plugin/tsp-svn-action.c:520
+#: thunar-svn-plugin/tsp-svn-action.c:523
msgid "Switch"
msgstr "تبدیل"
-#: thunar-svn-plugin/tsp-svn-action.c:435 tsp-svn-helper/main.c:267
+#: thunar-svn-plugin/tsp-svn-action.c:532 tsp-svn-helper/main.c:267
#: tsp-svn-helper/tsh-unlock.c:99
msgid "Unlock"
msgstr "غیر مقفل"
-#: thunar-svn-plugin/tsp-svn-action.c:443 tsp-svn-helper/main.c:271
+#: thunar-svn-plugin/tsp-svn-action.c:542 tsp-svn-helper/main.c:271
#: tsp-svn-helper/tsh-update.c:101
msgid "Update"
msgstr "تجدید"
-#: thunar-svn-plugin/tsp-svn-action.c:456
+#: thunar-svn-plugin/tsp-svn-action.c:559
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -327,11 +330,6 @@
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:211 tsp-svn-helper/tsh-checkout.c:86
-#: tsp-svn-helper/tsh-checkout.c:98
-msgid "Checkout"
-msgstr "چیک کریں"
-
#: tsp-svn-helper/main.c:215
msgid "Cleanup Related Opions:"
msgstr ""
@@ -356,12 +354,6 @@
msgid "Import Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:235 tsp-svn-helper/tsh-import.c:86
-#: tsp-svn-helper/tsh-import.c:104
-#, fuzzy
-msgid "Import"
-msgstr "SVN _درآمد"
-
#: tsp-svn-helper/main.c:239
msgid "Lock Related Opions:"
msgstr ""
@@ -717,3 +709,13 @@
#: tsp-svn-helper/tsh-trust-dialog.c:77
msgid "Trust"
msgstr ""
+
+#~ msgid "SVN _Import"
+#~ msgstr "SVN _درآمد"
+
+#~ msgid "SVN _Checkout"
+#~ msgstr "SVN _چیک آؤٹ"
+
+#, fuzzy
+#~ msgid "SVN _Export"
+#~ msgstr "SVN _درآمد"
Modified: thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-provider.c
===================================================================
--- thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-provider.c 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-provider.c 2008-01-06 00:42:09 UTC (rev 3782)
@@ -140,7 +140,25 @@
static void
tsp_provider_init (TspProvider *tsp_provider)
{
- tsp_svn_backend_init();
+#if !GTK_CHECK_VERSION(2,9,0)
+ GtkIconSource *icon_source;
+ GtkIconSet *icon_set;
+
+ /* setup our icon factory */
+ tsp_provider->icon_factory = gtk_icon_factory_new ();
+ gtk_icon_factory_add_default (tsp_provider->icon_factory);
+
+ /* add the "subversion" stock icon */
+ icon_set = gtk_icon_set_new ();
+ icon_source = gtk_icon_source_new ();
+ gtk_icon_source_set_icon_name (icon_source, "subversion");
+ gtk_icon_set_add_source (icon_set, icon_source);
+ gtk_icon_factory_add (tsp_provider->icon_factory, "subversion", icon_set);
+ gtk_icon_source_free (icon_source);
+ gtk_icon_set_unref (icon_set);
+#endif /* !GTK_CHECK_VERSION(2,9,0) */
+
+ tsp_svn_backend_init();
}
@@ -345,19 +363,18 @@
ThunarVfsPathScheme scheme;
ThunarVfsInfo *info;
gboolean parent_wc = FALSE;
- gboolean directory_is_wc = FALSE;
- gboolean directory_is_not_wc = FALSE;
- gboolean file_is_vc = FALSE;
- gboolean file_is_not_vc = FALSE;
+ gboolean directory_is_wc = FALSE;
+ gboolean directory_is_not_wc = FALSE;
+ gboolean file_is_vc = FALSE;
+ gboolean file_is_not_vc = FALSE;
GtkAction *action;
- GtkAction *svnaction;
GList *actions = NULL;
GList *lp;
gint n_files = 0;
- GSList *file_status;
- GSList *iter;
+ GSList *file_status;
+ GSList *iter;
- file_status = tsp_get_parent_status (files->data);
+ file_status = tsp_get_parent_status (files->data);
/* check all supplied files */
for (lp = files; lp != NULL; lp = lp->next, ++n_files)
@@ -410,27 +427,9 @@
}
}
- /* is the parent folder a working copy */
- if (!parent_wc && (directory_is_not_wc || file_is_not_vc))
- {
- svnaction = tsp_svn_action_new ("Tsp::svn", _("SVN"), files, window, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE);
- /* It's not a working copy
- * append the "Import" action */
- action = g_object_new (GTK_TYPE_ACTION,
- "name", "Tsp::import",
- "label", _("SVN _Import"),
- NULL);
- g_signal_connect_object (action, "activate", G_CALLBACK (tsp_action_import), svnaction, G_CONNECT_AFTER);
- actions = g_list_append (actions, action);
- /* append the svn submenu action
- actions = g_list_append (actions, svnaction); */
- }
- if (parent_wc || directory_is_wc)
- {
- /* append the svn submenu action */
- action = tsp_svn_action_new ("Tsp::svn", _("SVN"), files, window, FALSE, parent_wc, directory_is_wc, directory_is_not_wc, file_is_vc, file_is_not_vc);
- actions = g_list_append (actions, action);
- }
+ /* append the svn submenu action */
+ action = tsp_svn_action_new ("Tsp::svn", _("SVN"), files, window, FALSE, parent_wc, directory_is_wc, directory_is_not_wc, file_is_vc, file_is_not_vc);
+ actions = g_list_append (actions, action);
return actions;
}
@@ -443,7 +442,6 @@
ThunarxFileInfo *folder)
{
GtkAction *action;
- GtkAction *svnaction;
GList *actions = NULL;
ThunarVfsPathScheme scheme;
ThunarVfsInfo *info;
@@ -461,35 +459,11 @@
files = g_list_append (NULL, folder);
/* Lets see if we are dealing with a working copy */
- if (tsp_is_working_copy (folder))
- {
- svnaction = tsp_svn_action_new ("Tsp::svn", _("SVN"), files, window, TRUE, TRUE, FALSE, FALSE, FALSE, FALSE);
- /* append the svn submenu action */
- actions = g_list_append (actions, svnaction);
+ action = tsp_svn_action_new ("Tsp::svn", _("SVN"), files, window, TRUE, tsp_is_working_copy (folder), FALSE, FALSE, FALSE, FALSE);
+ /* append the svn submenu action */
+ actions = g_list_append (actions, action);
- g_list_free (files);
- }
- else
- {
- svnaction = tsp_svn_action_new ("Tsp::svn", _("SVN"), files, window, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE);
- /* It's not a working copy
- * append the "Checkout" action */
- action = g_object_new (GTK_TYPE_ACTION,
- "name", "Tsp::checkout",
- "label", _("SVN _Checkout"),
- NULL);
- g_signal_connect_object (action, "activate", G_CALLBACK (tsp_action_checkout), svnaction, G_CONNECT_AFTER);
- actions = g_list_append (actions, action);
- /* append the "Export" action */
- action = g_object_new (GTK_TYPE_ACTION,
- "name", "Tsp::export",
- "label", _("SVN _Export"),
- NULL);
- g_signal_connect_object (action, "activate", G_CALLBACK (tsp_action_export), svnaction, G_CONNECT_AFTER);
- actions = g_list_append (actions, action);
- /* append the svn submenu action
- actions = g_list_append (actions, svnaction); */
- }
+ g_list_free (files);
return actions;
}
Modified: thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.c
===================================================================
--- thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.c 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.c 2008-01-06 00:42:09 UTC (rev 3782)
@@ -78,36 +78,44 @@
-void tsp_action_add (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_add (GtkAction *item, TspSvnAction *tsp_action);
-void tsp_action_cleanup (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_checkout (GtkAction *, TspSvnAction *);
-void tsp_action_commit (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_cleanup (GtkAction *item, TspSvnAction *tsp_action);
-void tsp_action_copy (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_commit (GtkAction *item, TspSvnAction *tsp_action);
-void tsp_action_delete (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_copy (GtkAction *item, TspSvnAction *tsp_action);
-void tsp_action_lock (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_delete (GtkAction *item, TspSvnAction *tsp_action);
-void tsp_action_log (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_export (GtkAction *, TspSvnAction *);
-void tsp_action_move (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_import (GtkAction *, TspSvnAction *);
-void tsp_action_properties (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_lock (GtkAction *item, TspSvnAction *tsp_action);
-void tsp_action_resolved (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_log (GtkAction *item, TspSvnAction *tsp_action);
-void tsp_action_revert (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_move (GtkAction *item, TspSvnAction *tsp_action);
-void tsp_action_status (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_properties (GtkAction *item, TspSvnAction *tsp_action);
-void tsp_action_unlock (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_resolved (GtkAction *item, TspSvnAction *tsp_action);
-void tsp_action_update (GtkMenuItem *item, TspSvnAction *action);
+void tsp_action_revert (GtkAction *item, TspSvnAction *tsp_action);
+void tsp_action_status (GtkAction *item, TspSvnAction *tsp_action);
+void tsp_action_unlock (GtkAction *item, TspSvnAction *tsp_action);
+void tsp_action_update (GtkAction *item, TspSvnAction *tsp_action);
+
+void tsp_action_unimplemented (GtkAction *, const gchar *);
+
+
+
G_DEFINE_TYPE (TspSvnAction, tsp_svn_action, GTK_TYPE_ACTION)
@@ -162,29 +170,34 @@
GtkAction *
tsp_svn_action_new (const gchar *name,
const gchar *label,
- GList *files,
- GtkWidget *window,
- gboolean is_parent,
- gboolean parent_version_control,
- gboolean directory_version_control,
- gboolean directory_no_version_control,
- gboolean file_version_control,
- gboolean file_no_version_control)
+ GList *files,
+ GtkWidget *window,
+ gboolean is_parent,
+ gboolean parent_version_control,
+ gboolean directory_version_control,
+ gboolean directory_no_version_control,
+ gboolean file_version_control,
+ gboolean file_no_version_control)
{
g_return_val_if_fail(name, NULL);
g_return_val_if_fail(label, NULL);
GtkAction *action = g_object_new (TSP_TYPE_SVN_ACTION,
- "hide-if-empty", FALSE,
- "name", name,
- "label", label,
- "is-parent", is_parent,
- "parent-version-control", parent_version_control,
- "directory-version-control", directory_version_control,
- "directory-no-version-control", directory_no_version_control,
- "file-version-control", file_version_control,
- "file-no-version-control", file_no_version_control,
- NULL);
+ "hide-if-empty", FALSE,
+ "name", name,
+ "label", label,
+ "is-parent", is_parent,
+ "parent-version-control", parent_version_control,
+ "directory-version-control", directory_version_control,
+ "directory-no-version-control", directory_no_version_control,
+ "file-version-control", file_version_control,
+ "file-no-version-control", file_no_version_control,
+#if !GTK_CHECK_VERSION(2,9,0)
+ "stock-id", "subversion",
+#else
+ "icon-name", "subversion",
+#endif
+ NULL);
TSP_SVN_ACTION (action)->files = thunarx_file_info_list_copy (files);
// TSP_SVN_ACTION (action)->window = gtk_widget_ref (window);
TSP_SVN_ACTION (action)->window = window;
@@ -241,6 +254,7 @@
{
GtkWidget *item;
GtkWidget *menu;
+ GtkWidget *subaction;
GtkWidget *subitem;
TspSvnAction *tsp_action = TSP_SVN_ACTION (action);
@@ -251,89 +265,137 @@
/* No version control */
if (!tsp_action->property.is_parent && tsp_action->property.parent_version_control && (tsp_action->property.directory_no_version_control || tsp_action->property.file_no_version_control))
{
- subitem = gtk_menu_item_new_with_label (_("Add"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_add), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::add", "label", _("Add"),
+ "stock-id", GTK_STOCK_ADD,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_add), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Version control (file) */
if (tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Blame"));
- g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Blame");
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::blame", "label", _("Blame"), NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_unimplemented), _("Blame"));
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* No need
subitem = gtk_menu_item_new_with_label (_("Cat"));
g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Cat");
gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
gtk_widget_show(subitem);
-*//* Not here
- subitem = gtk_menu_item_new_with_label (_("Checkout"));
- g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Checkout");
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
-*//* Version control (parent) */
+*//* No version control (parent) */
if (tsp_action->property.is_parent && tsp_action->property.parent_version_control)
+ {
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::checkout", "label", _("Checkout"),
+ "stock-id", GTK_STOCK_CONNECT,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_checkout), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
+ }
+ /* Version control (parent) */
+ if (tsp_action->property.is_parent && tsp_action->property.parent_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Cleanup"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_cleanup), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::cleanup", "label", _("Cleanup"),
+ "stock-id", GTK_STOCK_CLEAR,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_cleanup), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Version control (all) */
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Commit"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_commit), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::commit", "label", _("Commit"),
+ "stock-id", GTK_STOCK_APPLY,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_commit), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Version control (no parent) */
if (!tsp_action->property.is_parent && tsp_action->property.parent_version_control && (tsp_action->property.directory_version_control || tsp_action->property.file_version_control))
- {
- subitem = gtk_menu_item_new_with_label (_("Copy"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_copy), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
- }
+ {
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::copy", "label", _("Copy"),
+ "stock-id", GTK_STOCK_COPY,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_copy), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
+ }
/* Version control (no parent) */
if (!tsp_action->property.is_parent && tsp_action->property.parent_version_control && (tsp_action->property.directory_version_control || tsp_action->property.file_version_control))
{
- subitem = gtk_menu_item_new_with_label (_("Delete"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_delete), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::delete", "label", _("Delete"),
+ "stock-id", GTK_STOCK_DELETE,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_delete), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Version control (file) */
if (tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Diff"));
- g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Diff");
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::diff", "label", _("Diff"),
+ "stock-id", GTK_STOCK_FIND_AND_REPLACE,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_unimplemented), _("Diff"));
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
- /* Version control */
- if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
+ /* Version control and No version control (parent) */
+ if (tsp_action->property.is_parent || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Export"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_export), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::export", "label", _("Export"),
+ "stock-id", GTK_STOCK_SAVE,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_export), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
-/* Not here
- subitem = gtk_menu_item_new_with_label (_("Import"));
- g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Import");
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
-*//* Version control (all) */
+/* No version control (all) */
+ if (!tsp_action->property.parent_version_control && (tsp_action->property.is_parent || tsp_action->property.directory_no_version_control || tsp_action->property.file_no_version_control))
+ {
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::import", "label", _("Import"),
+ "stock-id", GTK_STOCK_NETWORK,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_import), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
+ }
+ /* Version control (all) */
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Info"));
- g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Info");
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::info", "label", _("Info"),
+ "stock-id", GTK_STOCK_INFO,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_unimplemented), _("Info"));
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Ehmm...
subitem = gtk_menu_item_new_with_label (_("List"));
@@ -343,18 +405,25 @@
*//* Version control (all) */
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Lock"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_lock), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::lock", "label", _("Lock"),
+ "stock-id", GTK_STOCK_DIALOG_AUTHENTICATION,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_lock), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Version control (all) */
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Log"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_log), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::log", "label", _("Log"),
+ "stock-id", GTK_STOCK_INDEX,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_log), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
}
/* Ehmm ...
subitem = gtk_menu_item_new_with_label (_("Merge"));
@@ -368,12 +437,16 @@
gtk_widget_show(subitem);
*//* Version control (no parent) */
if (!tsp_action->property.is_parent && tsp_action->property.parent_version_control && (tsp_action->property.directory_version_control || tsp_action->property.file_version_control))
- {
- subitem = gtk_menu_item_new_with_label (_("Move"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_move), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
- }
+ {
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::move", "label", _("Move"),
+ "stock-id", GTK_STOCK_DND_MULTIPLE,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_move), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
+ }
/* Merged
subitem = gtk_menu_item_new_with_label (_("Delete Properties"));
subitem = gtk_menu_item_new_with_label (_("Edit Properties"));
@@ -383,67 +456,97 @@
*//* Version control */
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Edit Properties"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_properties), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::properties", "label", _("Edit Properties"),
+ "stock-id", GTK_STOCK_EDIT,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_properties), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Changed
subitem = gtk_menu_item_new_with_label (_("Mark Resolved"));
*/if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Resolved"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_resolved), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::resolved", "label", _("Resolved"),
+ "stock-id", GTK_STOCK_YES,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_resolved), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}/*
*//* Version control (file) */
if (tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Resolve"));
- g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Resolve");
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::resolve", "label", _("Resolve"),
+ "stock-id", GTK_STOCK_YES,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_unimplemented), _("Resolve"));
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Version control (all) */
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Revert"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_revert), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::revert", "label", _("Revert"),
+ "stock-id", GTK_STOCK_UNDO,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_revert), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Version control (all) */
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Status"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_status), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::status", "label", _("Status"),
+ "stock-id", GTK_STOCK_DIALOG_INFO,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_status), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Version control (parent) */
if (tsp_action->property.is_parent && tsp_action->property.parent_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Switch"));
- g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Switch");
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::switch", "label", _("Switch"),
+ "stock-id", GTK_STOCK_JUMP_TO,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_unimplemented), _("Switch"));
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Version control (all) */
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Unlock"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_unlock), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::unlock", "label", _("Unlock"), NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_unlock), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
/* Version control (all) */
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
- subitem = gtk_menu_item_new_with_label (_("Update"));
- g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_update), action, G_CONNECT_AFTER);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
- gtk_widget_show(subitem);
+ subaction = g_object_new (GTK_TYPE_ACTION, "name", "tsp::update", "label", _("Update"),
+ "stock-id", GTK_STOCK_REFRESH,
+ NULL);
+ g_signal_connect_after (subaction, "activate", G_CALLBACK (tsp_action_update), action);
+
+ subitem = gtk_action_create_menu_item (GTK_ACTION (subaction));
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
+ gtk_widget_show(subitem);
}
return item;
@@ -451,16 +554,16 @@
-void tsp_action_unimplemented (GtkMenuItem *item, const gchar *action)
+void tsp_action_unimplemented (GtkAction *item, const gchar *tsp_action)
{
- GtkWidget *dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, _("Action %s is unimplemented"), _(action));
+ GtkWidget *dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, _("Action %s is unimplemented"), tsp_action);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy(dialog);
}
-void tsp_action_add (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_add (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -470,9 +573,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -522,7 +625,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -534,7 +637,7 @@
-void tsp_action_checkout (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_checkout (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -544,9 +647,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -596,7 +699,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -608,7 +711,7 @@
-void tsp_action_cleanup (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_cleanup (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -618,9 +721,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -670,7 +773,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -682,7 +785,7 @@
-void tsp_action_commit (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_commit (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -692,9 +795,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -744,7 +847,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -756,7 +859,7 @@
-void tsp_action_copy (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_copy (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -766,9 +869,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -818,7 +921,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -830,7 +933,7 @@
-void tsp_action_delete (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_delete (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -840,9 +943,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -892,7 +995,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -904,7 +1007,7 @@
-void tsp_action_export (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_export (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -914,9 +1017,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -966,7 +1069,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -978,7 +1081,7 @@
-void tsp_action_import (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_import (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -988,9 +1091,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -1040,7 +1143,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1052,7 +1155,7 @@
-void tsp_action_lock (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_lock (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -1062,9 +1165,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -1114,7 +1217,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1126,7 +1229,7 @@
-void tsp_action_log (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_log (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -1136,9 +1239,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -1188,7 +1291,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1200,7 +1303,7 @@
-void tsp_action_move (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_move (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -1210,9 +1313,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -1262,7 +1365,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1274,7 +1377,7 @@
-void tsp_action_properties (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_properties (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -1284,9 +1387,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -1336,7 +1439,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1348,7 +1451,7 @@
-void tsp_action_resolved (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_resolved (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -1358,9 +1461,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -1410,7 +1513,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1422,7 +1525,7 @@
-void tsp_action_revert (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_revert (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -1432,9 +1535,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -1484,7 +1587,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1496,7 +1599,7 @@
-void tsp_action_status (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_status (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -1506,9 +1609,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -1558,7 +1661,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1570,7 +1673,7 @@
-void tsp_action_unlock (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_unlock (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -1580,9 +1683,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -1632,7 +1735,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -1644,7 +1747,7 @@
-void tsp_action_update (GtkMenuItem *item, TspSvnAction *action)
+void tsp_action_update (GtkAction *item, TspSvnAction *tsp_action)
{
guint size, i;
gchar **argv;
@@ -1654,9 +1757,9 @@
gchar *file;
gint pid;
GError *error = NULL;
- GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (tsp_action->window));
- iter = action->files;
+ iter = tsp_action->files;
size = g_list_length (iter);
@@ -1706,7 +1809,7 @@
if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
{
- GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (tsp_action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
Modified: thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.h
===================================================================
--- thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.h 2008-01-05 01:29:53 UTC (rev 3781)
+++ thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.h 2008-01-06 00:42:09 UTC (rev 3782)
@@ -38,21 +38,15 @@
GtkAction *tsp_svn_action_new (const gchar*,
const gchar*,
- GList *,
- GtkWidget *,
- gboolean,
- gboolean,
- gboolean,
- gboolean,
- gboolean,
- gboolean) G_GNUC_MALLOC G_GNUC_INTERNAL;
+ GList *,
+ GtkWidget *,
+ gboolean,
+ gboolean,
+ gboolean,
+ gboolean,
+ gboolean,
+ gboolean) G_GNUC_MALLOC G_GNUC_INTERNAL;
G_END_DECLS;
-
-void tsp_action_checkout (GtkMenuItem *, TspSvnAction *);
-void tsp_action_export (GtkMenuItem *, TspSvnAction *);
-void tsp_action_import (GtkMenuItem *, TspSvnAction *);
-void tsp_action_unimplemented (GtkMenuItem *, const gchar *);
-
#endif /* !__TSP_SVN_ACTION_H__ */
More information about the Goodies-commits
mailing list