[Xfce4-commits] r25329 - in squeeze/trunk: libsqueeze po src
Stephan Arts
stephan at xfce.org
Thu Mar 29 09:27:49 CEST 2007
Author: stephan
Date: 2007-03-29 07:27:49 +0000 (Thu, 29 Mar 2007)
New Revision: 25329
Modified:
squeeze/trunk/libsqueeze/archive.c
squeeze/trunk/libsqueeze/archive.h
squeeze/trunk/libsqueeze/macro-command.c
squeeze/trunk/po/ar.po
squeeze/trunk/po/be.po
squeeze/trunk/po/cs.po
squeeze/trunk/po/en_GB.po
squeeze/trunk/po/fi.po
squeeze/trunk/po/fr.po
squeeze/trunk/po/nl.po
squeeze/trunk/po/sq.po
squeeze/trunk/po/squeeze.pot
squeeze/trunk/src/main_window.c
squeeze/trunk/src/notebook.c
Log:
fix state messaging
Modified: squeeze/trunk/libsqueeze/archive.c
===================================================================
--- squeeze/trunk/libsqueeze/archive.c 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/libsqueeze/archive.c 2007-03-29 07:27:49 UTC (rev 25329)
@@ -65,7 +65,7 @@
enum
{
- LSQ_ARCHIVE_SIGNAL_COMMAND_STARTED = 0,
+ LSQ_ARCHIVE_SIGNAL_STATE_CHANGED = 0,
LSQ_ARCHIVE_SIGNAL_COMMAND_TERMINATED,
LSQ_ARCHIVE_SIGNAL_REFRESHED,
LSQ_ARCHIVE_SIGNAL_COUNT
@@ -105,8 +105,7 @@
GObjectClass *object_class = G_OBJECT_CLASS(archive_class);
object_class->finalize = lsq_archive_finalize;
-
- lsq_archive_signals[LSQ_ARCHIVE_SIGNAL_COMMAND_STARTED] = g_signal_new("command-started",
+ lsq_archive_signals[LSQ_ARCHIVE_SIGNAL_COMMAND_TERMINATED] = g_signal_new("command-terminated",
G_TYPE_FROM_CLASS(archive_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
0,
@@ -117,16 +116,15 @@
1,
G_TYPE_POINTER,
NULL);
- lsq_archive_signals[LSQ_ARCHIVE_SIGNAL_COMMAND_TERMINATED] = g_signal_new("command-terminated",
+ lsq_archive_signals[LSQ_ARCHIVE_SIGNAL_STATE_CHANGED] = g_signal_new("state-changed",
G_TYPE_FROM_CLASS(archive_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
0,
NULL,
NULL,
- g_cclosure_marshal_VOID__POINTER,
+ g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE,
- 1,
- G_TYPE_POINTER,
+ 0,
NULL);
lsq_archive_signals[LSQ_ARCHIVE_SIGNAL_REFRESHED] = g_signal_new("refreshed",
G_TYPE_FROM_CLASS(archive_class),
@@ -386,10 +384,12 @@
{
g_object_unref(archive->command);
archive->command = NULL;
+ return FALSE;
}
else
g_object_unref(archive->command);
- return FALSE;
+ lsq_archive_state_changed(archive);
+ return TRUE;
}
gboolean
@@ -406,10 +406,12 @@
{
g_object_unref(archive->command);
archive->command = NULL;
+ return FALSE;
}
else
g_object_unref(archive->command);
- return FALSE;
+ lsq_archive_state_changed(archive);
+ return TRUE;
}
gboolean
@@ -426,10 +428,12 @@
{
g_object_unref(archive->command);
archive->command = NULL;
+ return FALSE;
}
else
g_object_unref(archive->command);
- return FALSE;
+ lsq_archive_state_changed(archive);
+ return TRUE;
}
gboolean
@@ -452,6 +456,7 @@
}
else
g_object_unref(archive->command);
+ lsq_archive_state_changed(archive);
return TRUE;
}
return FALSE;
@@ -484,6 +489,13 @@
#ifdef DEBUG
g_debug("COMMAND TERMINATED");
#endif
+ lsq_archive_state_changed(archive);
lsq_archive_refreshed(archive);
g_signal_emit(G_OBJECT(archive), lsq_archive_signals[LSQ_ARCHIVE_SIGNAL_COMMAND_TERMINATED], 0, error, NULL);
}
+
+void
+lsq_archive_state_changed(const LSQArchive *archive)
+{
+ g_signal_emit(G_OBJECT(archive), lsq_archive_signals[LSQ_ARCHIVE_SIGNAL_STATE_CHANGED], 0, NULL);
+}
Modified: squeeze/trunk/libsqueeze/archive.h
===================================================================
--- squeeze/trunk/libsqueeze/archive.h 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/libsqueeze/archive.h 2007-03-29 07:27:49 UTC (rev 25329)
@@ -42,6 +42,7 @@
};
LSQArchive *lsq_archive_new(gchar *, const gchar *) G_GNUC_INTERNAL;
+void lsq_archive_state_changed(const LSQArchive *archive) G_GNUC_INTERNAL;
G_END_DECLS
Modified: squeeze/trunk/libsqueeze/macro-command.c
===================================================================
--- squeeze/trunk/libsqueeze/macro-command.c 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/libsqueeze/macro-command.c 2007-03-29 07:27:49 UTC (rev 25329)
@@ -180,6 +180,10 @@
g_signal_connect(command, "terminated", G_CALLBACK(cb_macro_command_sub_command_terminated), macro_command);
+ LSQ_ARCHIVE_COMMAND(macro_command)->comment = command->comment;
+
+ lsq_archive_state_changed(LSQ_ARCHIVE_COMMAND(macro_command)->archive);
+
if(!lsq_archive_command_execute(command))
{
g_signal_handlers_disconnect_by_func(command, cb_macro_command_sub_command_terminated, macro_command);
Modified: squeeze/trunk/po/ar.po
===================================================================
--- squeeze/trunk/po/ar.po 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/po/ar.po 2007-03-29 07:27:49 UTC (rev 25329)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: squeeze\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-03-28 15:26+0200\n"
+"POT-Creation-Date: 2007-03-29 09:27+0200\n"
"PO-Revision-Date: 2007-01-24 09:48+0200\n"
"Last-Translator: Mohamed Magdy <alnokta at yahoo.com>\n"
"Language-Team: Arabeyes Translation & Documentation <admin at arabeyes.org>\n"
@@ -12,15 +12,15 @@
"X-Poedit-Language: Arabic\n"
"X-Poedit-SourceCharset: utf-8\n"
-#: ../libsqueeze/archive.c:278
+#: ../libsqueeze/archive.c:276
msgid "Name"
msgstr ""
-#: ../libsqueeze/archive.c:280
+#: ../libsqueeze/archive.c:278
msgid "Mime type"
msgstr ""
-#: ../libsqueeze/archive.c:366
+#: ../libsqueeze/archive.c:364
msgid "Done"
msgstr ""
@@ -211,98 +211,98 @@
msgid "Add"
msgstr ""
-#: ../src/main_window.c:416 ../src/main_window.c:1023
+#: ../src/main_window.c:416 ../src/main_window.c:1024
#: ../src/extract_dialog.c:100
msgid "Extract"
msgstr ""
-#: ../src/main_window.c:663
+#: ../src/main_window.c:664
msgid "Open archive in new window"
msgstr ""
-#: ../src/main_window.c:669
+#: ../src/main_window.c:670
msgid "Open archive"
msgstr ""
-#: ../src/main_window.c:738 ../src/main_window.c:1064 ../src/application.c:190
+#: ../src/main_window.c:739 ../src/main_window.c:1065 ../src/application.c:190
msgid ""
"Squeeze cannot extract this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:778 ../src/application.c:264
+#: ../src/main_window.c:779 ../src/application.c:264
msgid ""
"Squeeze cannot add files to this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:798
+#: ../src/main_window.c:799
msgid "Are you sure you want to remove the selected files?"
msgstr ""
-#: ../src/main_window.c:811
+#: ../src/main_window.c:812
msgid ""
"Squeeze cannot remove files from this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:858
+#: ../src/main_window.c:859
msgid ""
"Are you sure you want to cancel this operation?\n"
"This could damage the archive."
msgstr ""
-#: ../src/main_window.c:940
+#: ../src/main_window.c:941
msgid "Lead developer:"
msgstr ""
-#: ../src/main_window.c:943
+#: ../src/main_window.c:944
msgid "Contributors:"
msgstr ""
-#: ../src/main_window.c:946
+#: ../src/main_window.c:947
msgid "Artwork:"
msgstr ""
-#: ../src/main_window.c:947
+#: ../src/main_window.c:948
msgid ""
"The add and extract icons are based on the extract icon created by Andreas "
"Nilsson"
msgstr ""
-#: ../src/main_window.c:949
+#: ../src/main_window.c:950
msgid "Inspired by Xarchiver, written by Giuseppe Torelli"
msgstr ""
-#: ../src/main_window.c:954
+#: ../src/main_window.c:955
msgid ""
"Squeeze is a lightweight and flexible archive manager for the Xfce Desktop "
"Environment"
msgstr ""
-#: ../src/main_window.c:961
+#: ../src/main_window.c:962
msgid "translator-credits"
msgstr ""
-#: ../src/main_window.c:1022
+#: ../src/main_window.c:1023
msgid "Which action do you want to perform on the selected file(s)?"
msgstr ""
-#: ../src/main_window.c:1023
+#: ../src/main_window.c:1024
msgid "Open"
msgstr ""
-#: ../src/main_window.c:1037
+#: ../src/main_window.c:1038
msgid ""
"Squeeze cannot view this file.\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:1109
+#: ../src/main_window.c:1110
msgid "Failed to open file"
msgstr ""
-#: ../src/main_window.c:1110
+#: ../src/main_window.c:1111
#, c-format
msgid ""
"'%s'\n"
@@ -398,40 +398,40 @@
msgid "The amount of space between the path buttons"
msgstr ""
-#: ../src/notebook.c:167 ../src/archive_store.c:249
+#: ../src/notebook.c:176 ../src/archive_store.c:249
msgid "Show full path"
msgstr ""
-#: ../src/notebook.c:168 ../src/archive_store.c:250
+#: ../src/notebook.c:177 ../src/archive_store.c:250
msgid "Show the full path strings for each entry"
msgstr ""
-#: ../src/notebook.c:174 ../src/archive_store.c:256
+#: ../src/notebook.c:183 ../src/archive_store.c:256
msgid "Show mime icons"
msgstr ""
-#: ../src/notebook.c:175 ../src/archive_store.c:257
+#: ../src/notebook.c:184 ../src/archive_store.c:257
msgid "Show the mime type icons for each entry"
msgstr ""
-#: ../src/notebook.c:181 ../src/archive_store.c:270
+#: ../src/notebook.c:190 ../src/archive_store.c:270
msgid "Sort folders before files"
msgstr ""
-#: ../src/notebook.c:182 ../src/archive_store.c:271
+#: ../src/notebook.c:191 ../src/archive_store.c:271
msgid "The folders will be put at the top of the list"
msgstr ""
-#: ../src/notebook.c:188 ../src/notebook.c:189 ../src/archive_store.c:277
+#: ../src/notebook.c:197 ../src/notebook.c:198 ../src/archive_store.c:277
#: ../src/archive_store.c:278
msgid "Sort text case sensitive"
msgstr ""
-#: ../src/notebook.c:195
+#: ../src/notebook.c:204
msgid "Rules hint"
msgstr ""
-#: ../src/notebook.c:196
+#: ../src/notebook.c:205
msgid "Make the row background colors alternate"
msgstr ""
Modified: squeeze/trunk/po/be.po
===================================================================
--- squeeze/trunk/po/be.po 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/po/be.po 2007-03-29 07:27:49 UTC (rev 25329)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: squeeze trunk\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-03-28 15:26+0200\n"
+"POT-Creation-Date: 2007-03-29 09:27+0200\n"
"PO-Revision-Date: 2007-01-20 04:24+0300\n"
"Last-Translator: Alexander Nyakhaychyk <nyakhaychyk at gmail.com>\n"
"Language-Team: Belarusian <i18n at mova.org>\n"
@@ -16,16 +16,16 @@
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../libsqueeze/archive.c:278
+#: ../libsqueeze/archive.c:276
#, fuzzy
msgid "Name"
msgstr "Назва:"
-#: ../libsqueeze/archive.c:280
+#: ../libsqueeze/archive.c:278
msgid "Mime type"
msgstr "Тып MIME"
-#: ../libsqueeze/archive.c:366
+#: ../libsqueeze/archive.c:364
msgid "Done"
msgstr "Зроблена"
@@ -227,99 +227,99 @@
msgid "Add"
msgstr "Дадаць"
-#: ../src/main_window.c:416 ../src/main_window.c:1023
+#: ../src/main_window.c:416 ../src/main_window.c:1024
#: ../src/extract_dialog.c:100
msgid "Extract"
msgstr "Распакаваць"
-#: ../src/main_window.c:663
+#: ../src/main_window.c:664
msgid "Open archive in new window"
msgstr "Адкрыць архіў у новым акне"
-#: ../src/main_window.c:669
+#: ../src/main_window.c:670
msgid "Open archive"
msgstr "Адкрыць архіў"
-#: ../src/main_window.c:738 ../src/main_window.c:1064 ../src/application.c:190
+#: ../src/main_window.c:739 ../src/main_window.c:1065 ../src/application.c:190
msgid ""
"Squeeze cannot extract this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:778 ../src/application.c:264
+#: ../src/main_window.c:779 ../src/application.c:264
msgid ""
"Squeeze cannot add files to this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:798
+#: ../src/main_window.c:799
#, fuzzy
msgid "Are you sure you want to remove the selected files?"
msgstr "Якое дзеяньне вы жадаеце выканаць над вылучанымі файламі?"
-#: ../src/main_window.c:811
+#: ../src/main_window.c:812
msgid ""
"Squeeze cannot remove files from this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:858
+#: ../src/main_window.c:859
msgid ""
"Are you sure you want to cancel this operation?\n"
"This could damage the archive."
msgstr ""
-#: ../src/main_window.c:940
+#: ../src/main_window.c:941
msgid "Lead developer:"
msgstr "Асноўны распрацоўнік:"
-#: ../src/main_window.c:943
+#: ../src/main_window.c:944
msgid "Contributors:"
msgstr "Укладальнікі:"
-#: ../src/main_window.c:946
+#: ../src/main_window.c:947
msgid "Artwork:"
msgstr ""
-#: ../src/main_window.c:947
+#: ../src/main_window.c:948
msgid ""
"The add and extract icons are based on the extract icon created by Andreas "
"Nilsson"
msgstr ""
-#: ../src/main_window.c:949
+#: ../src/main_window.c:950
msgid "Inspired by Xarchiver, written by Giuseppe Torelli"
msgstr "У натхненьні ад Xarchiver, напісана Giuseppe Torelli"
-#: ../src/main_window.c:954
+#: ../src/main_window.c:955
msgid ""
"Squeeze is a lightweight and flexible archive manager for the Xfce Desktop "
"Environment"
msgstr "Squeeze - гэта лёгкі і гнуткі кіраўнік архіваў для асяродзьдзя Xfce"
-#: ../src/main_window.c:961
+#: ../src/main_window.c:962
msgid "translator-credits"
msgstr "Аляксандар Няхайчык"
-#: ../src/main_window.c:1022
+#: ../src/main_window.c:1023
msgid "Which action do you want to perform on the selected file(s)?"
msgstr "Якое дзеяньне вы жадаеце выканаць над вылучанымі файламі?"
-#: ../src/main_window.c:1023
+#: ../src/main_window.c:1024
msgid "Open"
msgstr ""
-#: ../src/main_window.c:1037
+#: ../src/main_window.c:1038
msgid ""
"Squeeze cannot view this file.\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:1109
+#: ../src/main_window.c:1110
msgid "Failed to open file"
msgstr "Немагчыма адкрыць файл"
-#: ../src/main_window.c:1110
+#: ../src/main_window.c:1111
#, c-format
msgid ""
"'%s'\n"
@@ -418,41 +418,41 @@
msgid "The amount of space between the path buttons"
msgstr "Памер прасторы паміж элемэнтамі кнопак шляху"
-#: ../src/notebook.c:167 ../src/archive_store.c:249
+#: ../src/notebook.c:176 ../src/archive_store.c:249
msgid "Show full path"
msgstr ""
-#: ../src/notebook.c:168 ../src/archive_store.c:250
+#: ../src/notebook.c:177 ../src/archive_store.c:250
#, fuzzy
msgid "Show the full path strings for each entry"
msgstr "Паказваць значку MIME-тыпу для кожнага файла"
-#: ../src/notebook.c:174 ../src/archive_store.c:256
+#: ../src/notebook.c:183 ../src/archive_store.c:256
msgid "Show mime icons"
msgstr "Паказваць значкі mime-тыпаў"
-#: ../src/notebook.c:175 ../src/archive_store.c:257
+#: ../src/notebook.c:184 ../src/archive_store.c:257
msgid "Show the mime type icons for each entry"
msgstr "Паказваць значку MIME-тыпу для кожнага файла"
-#: ../src/notebook.c:181 ../src/archive_store.c:270
+#: ../src/notebook.c:190 ../src/archive_store.c:270
msgid "Sort folders before files"
msgstr "Зьмяшчаць тэчкі перад файламі"
-#: ../src/notebook.c:182 ../src/archive_store.c:271
+#: ../src/notebook.c:191 ../src/archive_store.c:271
msgid "The folders will be put at the top of the list"
msgstr "Тэчкі будуць зьмяшчацца перад файламі"
-#: ../src/notebook.c:188 ../src/notebook.c:189 ../src/archive_store.c:277
+#: ../src/notebook.c:197 ../src/notebook.c:198 ../src/archive_store.c:277
#: ../src/archive_store.c:278
msgid "Sort text case sensitive"
msgstr "Упарадкаваць згодна з рэгістрам"
-#: ../src/notebook.c:195
+#: ../src/notebook.c:204
msgid "Rules hint"
msgstr "Падказкі"
-#: ../src/notebook.c:196
+#: ../src/notebook.c:205
msgid "Make the row background colors alternate"
msgstr "Задаць альтэрнатыўныя колеры тла радка"
Modified: squeeze/trunk/po/cs.po
===================================================================
--- squeeze/trunk/po/cs.po 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/po/cs.po 2007-03-29 07:27:49 UTC (rev 25329)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: Squeeze 0.0.1-svn-r24156\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-03-28 15:26+0200\n"
+"POT-Creation-Date: 2007-03-29 09:27+0200\n"
"PO-Revision-Date: 2007-01-20 11:55+0100\n"
"Last-Translator: Michal Várady <miko.vaji at gmail.com>\n"
"Language-Team: Czech <translation-team-cs at lists.sourceforge.net>\n"
@@ -16,16 +16,16 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
-#: ../libsqueeze/archive.c:278
+#: ../libsqueeze/archive.c:276
#, fuzzy
msgid "Name"
msgstr "Název:"
-#: ../libsqueeze/archive.c:280
+#: ../libsqueeze/archive.c:278
msgid "Mime type"
msgstr "Typ MIME"
-#: ../libsqueeze/archive.c:366
+#: ../libsqueeze/archive.c:364
msgid "Done"
msgstr "Hotovo"
@@ -228,42 +228,42 @@
msgid "Add"
msgstr "Přidat"
-#: ../src/main_window.c:416 ../src/main_window.c:1023
+#: ../src/main_window.c:416 ../src/main_window.c:1024
#: ../src/extract_dialog.c:100
msgid "Extract"
msgstr "Rozbalit"
-#: ../src/main_window.c:663
+#: ../src/main_window.c:664
msgid "Open archive in new window"
msgstr "Otevřít archiv v novém okně"
-#: ../src/main_window.c:669
+#: ../src/main_window.c:670
msgid "Open archive"
msgstr "Otevřít archiv"
-#: ../src/main_window.c:738 ../src/main_window.c:1064 ../src/application.c:190
+#: ../src/main_window.c:739 ../src/main_window.c:1065 ../src/application.c:190
msgid ""
"Squeeze cannot extract this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:778 ../src/application.c:264
+#: ../src/main_window.c:779 ../src/application.c:264
msgid ""
"Squeeze cannot add files to this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:798
+#: ../src/main_window.c:799
msgid "Are you sure you want to remove the selected files?"
msgstr "Jste si jisti, že chcete odebrat vybrané soubory?"
-#: ../src/main_window.c:811
+#: ../src/main_window.c:812
msgid ""
"Squeeze cannot remove files from this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:858
+#: ../src/main_window.c:859
msgid ""
"Are you sure you want to cancel this operation?\n"
"This could damage the archive."
@@ -271,57 +271,57 @@
"Jste si jisti, že chcete zrušit tuto operaci?\n"
"Tímto můžete poškodit archiv."
-#: ../src/main_window.c:940
+#: ../src/main_window.c:941
msgid "Lead developer:"
msgstr "Vedoucí vývojář:"
-#: ../src/main_window.c:943
+#: ../src/main_window.c:944
msgid "Contributors:"
msgstr "Přispěvatelé:"
-#: ../src/main_window.c:946
+#: ../src/main_window.c:947
msgid "Artwork:"
msgstr ""
-#: ../src/main_window.c:947
+#: ../src/main_window.c:948
msgid ""
"The add and extract icons are based on the extract icon created by Andreas "
"Nilsson"
msgstr ""
-#: ../src/main_window.c:949
+#: ../src/main_window.c:950
msgid "Inspired by Xarchiver, written by Giuseppe Torelli"
msgstr "Inspirováno aplikací Xarchiver od Giuseppe Torelliho"
-#: ../src/main_window.c:954
+#: ../src/main_window.c:955
msgid ""
"Squeeze is a lightweight and flexible archive manager for the Xfce Desktop "
"Environment"
msgstr "Squeeze je odlehčený a pružný správce archivů pro prostředí Xfce."
-#: ../src/main_window.c:961
+#: ../src/main_window.c:962
msgid "translator-credits"
msgstr "translator-credits"
-#: ../src/main_window.c:1022
+#: ../src/main_window.c:1023
msgid "Which action do you want to perform on the selected file(s)?"
msgstr "Jakou akci si přejete provést na vybraných souborech?"
-#: ../src/main_window.c:1023
+#: ../src/main_window.c:1024
msgid "Open"
msgstr ""
-#: ../src/main_window.c:1037
+#: ../src/main_window.c:1038
msgid ""
"Squeeze cannot view this file.\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:1109
+#: ../src/main_window.c:1110
msgid "Failed to open file"
msgstr "Nepodařilo se otevřít soubor"
-#: ../src/main_window.c:1110
+#: ../src/main_window.c:1111
#, c-format
msgid ""
"'%s'\n"
@@ -419,41 +419,41 @@
msgid "The amount of space between the path buttons"
msgstr "Prostor mezi tlačítky cesty"
-#: ../src/notebook.c:167 ../src/archive_store.c:249
+#: ../src/notebook.c:176 ../src/archive_store.c:249
msgid "Show full path"
msgstr ""
-#: ../src/notebook.c:168 ../src/archive_store.c:250
+#: ../src/notebook.c:177 ../src/archive_store.c:250
#, fuzzy
msgid "Show the full path strings for each entry"
msgstr "Zobrazit ikony typu MIME pro každou položku"
-#: ../src/notebook.c:174 ../src/archive_store.c:256
+#: ../src/notebook.c:183 ../src/archive_store.c:256
msgid "Show mime icons"
msgstr "Zobrazit ikony typu MIME"
-#: ../src/notebook.c:175 ../src/archive_store.c:257
+#: ../src/notebook.c:184 ../src/archive_store.c:257
msgid "Show the mime type icons for each entry"
msgstr "Zobrazit ikony typu MIME pro každou položku"
-#: ../src/notebook.c:181 ../src/archive_store.c:270
+#: ../src/notebook.c:190 ../src/archive_store.c:270
msgid "Sort folders before files"
msgstr "Zařadit adresáře před soubory"
-#: ../src/notebook.c:182 ../src/archive_store.c:271
+#: ../src/notebook.c:191 ../src/archive_store.c:271
msgid "The folders will be put at the top of the list"
msgstr "Adresáře budou umístěny na začátku seznamu"
-#: ../src/notebook.c:188 ../src/notebook.c:189 ../src/archive_store.c:277
+#: ../src/notebook.c:197 ../src/notebook.c:198 ../src/archive_store.c:277
#: ../src/archive_store.c:278
msgid "Sort text case sensitive"
msgstr "Rozlišovat velikost písmen při řazení"
-#: ../src/notebook.c:195
+#: ../src/notebook.c:204
msgid "Rules hint"
msgstr "Rada o pravidlech"
-#: ../src/notebook.c:196
+#: ../src/notebook.c:205
msgid "Make the row background colors alternate"
msgstr "Změní barvu pozadí řádku"
Modified: squeeze/trunk/po/en_GB.po
===================================================================
--- squeeze/trunk/po/en_GB.po 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/po/en_GB.po 2007-03-29 07:27:49 UTC (rev 25329)
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: squeeze\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-03-28 15:26+0200\n"
+"POT-Creation-Date: 2007-03-29 09:27+0200\n"
"PO-Revision-Date: 2007-03-26 17:51+1000\n"
"Last-Translator: Jeff Bailes <thepizzaking at gmail.com>\n"
"Language-Team: English/GB\n"
@@ -17,15 +17,15 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../libsqueeze/archive.c:278
+#: ../libsqueeze/archive.c:276
msgid "Name"
msgstr "Name"
-#: ../libsqueeze/archive.c:280
+#: ../libsqueeze/archive.c:278
msgid "Mime type"
msgstr "Mime type"
-#: ../libsqueeze/archive.c:366
+#: ../libsqueeze/archive.c:364
msgid "Done"
msgstr ""
@@ -226,20 +226,20 @@
msgid "Add"
msgstr "Add"
-#: ../src/main_window.c:416 ../src/main_window.c:1023
+#: ../src/main_window.c:416 ../src/main_window.c:1024
#: ../src/extract_dialog.c:100
msgid "Extract"
msgstr "Extract"
-#: ../src/main_window.c:663
+#: ../src/main_window.c:664
msgid "Open archive in new window"
msgstr "Open archive in new window"
-#: ../src/main_window.c:669
+#: ../src/main_window.c:670
msgid "Open archive"
msgstr "Open archive"
-#: ../src/main_window.c:738 ../src/main_window.c:1064 ../src/application.c:190
+#: ../src/main_window.c:739 ../src/main_window.c:1065 ../src/application.c:190
msgid ""
"Squeeze cannot extract this archive type,\n"
"the application to support this is missing."
@@ -247,7 +247,7 @@
"Squeeze cannot extract this archive type,\n"
"the application to support this is missing."
-#: ../src/main_window.c:778 ../src/application.c:264
+#: ../src/main_window.c:779 ../src/application.c:264
msgid ""
"Squeeze cannot add files to this archive type,\n"
"the application to support this is missing."
@@ -255,11 +255,11 @@
"Squeeze cannot add files to this archive type,\n"
"the application to support this is missing."
-#: ../src/main_window.c:798
+#: ../src/main_window.c:799
msgid "Are you sure you want to remove the selected files?"
msgstr "Are you sure you want to remove the selected files?"
-#: ../src/main_window.c:811
+#: ../src/main_window.c:812
msgid ""
"Squeeze cannot remove files from this archive type,\n"
"the application to support this is missing."
@@ -267,7 +267,7 @@
"Squeeze cannot remove files from this archive type,\n"
"the application to support this is missing."
-#: ../src/main_window.c:858
+#: ../src/main_window.c:859
msgid ""
"Are you sure you want to cancel this operation?\n"
"This could damage the archive."
@@ -275,19 +275,19 @@
"Are you sure you want to cancel this operation?\n"
"This could damage the archive."
-#: ../src/main_window.c:940
+#: ../src/main_window.c:941
msgid "Lead developer:"
msgstr "Lead developer:"
-#: ../src/main_window.c:943
+#: ../src/main_window.c:944
msgid "Contributors:"
msgstr "Contributors:"
-#: ../src/main_window.c:946
+#: ../src/main_window.c:947
msgid "Artwork:"
msgstr "Artwork:"
-#: ../src/main_window.c:947
+#: ../src/main_window.c:948
msgid ""
"The add and extract icons are based on the extract icon created by Andreas "
"Nilsson"
@@ -295,11 +295,11 @@
"The add and extract icons are based on the extract icon created by Andreas "
"Nilsson"
-#: ../src/main_window.c:949
+#: ../src/main_window.c:950
msgid "Inspired by Xarchiver, written by Giuseppe Torelli"
msgstr "Inspired by Xarchiver, written by Giuseppe Torelli"
-#: ../src/main_window.c:954
+#: ../src/main_window.c:955
msgid ""
"Squeeze is a lightweight and flexible archive manager for the Xfce Desktop "
"Environment"
@@ -307,19 +307,19 @@
"Squeeze is a lightweight and flexible archive manager for the Xfce Desktop "
"Environment"
-#: ../src/main_window.c:961
+#: ../src/main_window.c:962
msgid "translator-credits"
msgstr "Jeff Bailes <thepizzaking at gmail.com>"
-#: ../src/main_window.c:1022
+#: ../src/main_window.c:1023
msgid "Which action do you want to perform on the selected file(s)?"
msgstr "Which action do you want to perform on the selected file(s)?"
-#: ../src/main_window.c:1023
+#: ../src/main_window.c:1024
msgid "Open"
msgstr "Open"
-#: ../src/main_window.c:1037
+#: ../src/main_window.c:1038
msgid ""
"Squeeze cannot view this file.\n"
"the application to support this is missing."
@@ -327,11 +327,11 @@
"Squeeze cannot view this file.\n"
"the application to support this is missing."
-#: ../src/main_window.c:1109
+#: ../src/main_window.c:1110
msgid "Failed to open file"
msgstr "Failed to open file"
-#: ../src/main_window.c:1110
+#: ../src/main_window.c:1111
#, c-format
msgid ""
"'%s'\n"
@@ -429,41 +429,41 @@
msgid "The amount of space between the path buttons"
msgstr "The amount of space between the path buttons"
-#: ../src/notebook.c:167 ../src/archive_store.c:249
+#: ../src/notebook.c:176 ../src/archive_store.c:249
msgid "Show full path"
msgstr ""
-#: ../src/notebook.c:168 ../src/archive_store.c:250
+#: ../src/notebook.c:177 ../src/archive_store.c:250
#, fuzzy
msgid "Show the full path strings for each entry"
msgstr "Show the mime type icons for each entry"
-#: ../src/notebook.c:174 ../src/archive_store.c:256
+#: ../src/notebook.c:183 ../src/archive_store.c:256
msgid "Show mime icons"
msgstr "Show mime icons"
-#: ../src/notebook.c:175 ../src/archive_store.c:257
+#: ../src/notebook.c:184 ../src/archive_store.c:257
msgid "Show the mime type icons for each entry"
msgstr "Show the mime type icons for each entry"
-#: ../src/notebook.c:181 ../src/archive_store.c:270
+#: ../src/notebook.c:190 ../src/archive_store.c:270
msgid "Sort folders before files"
msgstr "Sort folders before files"
-#: ../src/notebook.c:182 ../src/archive_store.c:271
+#: ../src/notebook.c:191 ../src/archive_store.c:271
msgid "The folders will be put at the top of the list"
msgstr "The folders will be put at the top of the list"
-#: ../src/notebook.c:188 ../src/notebook.c:189 ../src/archive_store.c:277
+#: ../src/notebook.c:197 ../src/notebook.c:198 ../src/archive_store.c:277
#: ../src/archive_store.c:278
msgid "Sort text case sensitive"
msgstr "Sort text case sensitive"
-#: ../src/notebook.c:195
+#: ../src/notebook.c:204
msgid "Rules hint"
msgstr "Rules hint"
-#: ../src/notebook.c:196
+#: ../src/notebook.c:205
msgid "Make the row background colors alternate"
msgstr "Make the row background colours alternate"
Modified: squeeze/trunk/po/fi.po
===================================================================
--- squeeze/trunk/po/fi.po 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/po/fi.po 2007-03-29 07:27:49 UTC (rev 25329)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: xarchiver 0.4.2rc2\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-03-28 15:26+0200\n"
+"POT-Creation-Date: 2007-03-29 09:27+0200\n"
"PO-Revision-Date: 2007-01-18 17:17+0200\n"
"Last-Translator: Jari Rahkonen <jari.rahkonen at pp1.inet.fi>\n"
"Language-Team: Finnish <translation-team-fi at lists.sourceforge.net>\n"
@@ -15,16 +15,16 @@
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../libsqueeze/archive.c:278
+#: ../libsqueeze/archive.c:276
#, fuzzy
msgid "Name"
msgstr "Nimi:"
-#: ../libsqueeze/archive.c:280
+#: ../libsqueeze/archive.c:278
msgid "Mime type"
msgstr "MIME-tyyppi"
-#: ../libsqueeze/archive.c:366
+#: ../libsqueeze/archive.c:364
msgid "Done"
msgstr "Valmis"
@@ -226,71 +226,71 @@
msgid "Add"
msgstr "Lisää"
-#: ../src/main_window.c:416 ../src/main_window.c:1023
+#: ../src/main_window.c:416 ../src/main_window.c:1024
#: ../src/extract_dialog.c:100
msgid "Extract"
msgstr "Pura"
-#: ../src/main_window.c:663
+#: ../src/main_window.c:664
msgid "Open archive in new window"
msgstr "Avaa arkisto uuteen ikkunaan"
-#: ../src/main_window.c:669
+#: ../src/main_window.c:670
msgid "Open archive"
msgstr "Avaa arkisto"
-#: ../src/main_window.c:738 ../src/main_window.c:1064 ../src/application.c:190
+#: ../src/main_window.c:739 ../src/main_window.c:1065 ../src/application.c:190
msgid ""
"Squeeze cannot extract this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:778 ../src/application.c:264
+#: ../src/main_window.c:779 ../src/application.c:264
msgid ""
"Squeeze cannot add files to this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:798
+#: ../src/main_window.c:799
#, fuzzy
msgid "Are you sure you want to remove the selected files?"
msgstr "Mitä haluat tehdä valitu(i)lle tiedosto(i)lle?"
-#: ../src/main_window.c:811
+#: ../src/main_window.c:812
msgid ""
"Squeeze cannot remove files from this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:858
+#: ../src/main_window.c:859
msgid ""
"Are you sure you want to cancel this operation?\n"
"This could damage the archive."
msgstr ""
-#: ../src/main_window.c:940
+#: ../src/main_window.c:941
msgid "Lead developer:"
msgstr "Pääkehittäjä:"
-#: ../src/main_window.c:943
+#: ../src/main_window.c:944
msgid "Contributors:"
msgstr "Avustavat kehittäjät:"
-#: ../src/main_window.c:946
+#: ../src/main_window.c:947
msgid "Artwork:"
msgstr ""
-#: ../src/main_window.c:947
+#: ../src/main_window.c:948
msgid ""
"The add and extract icons are based on the extract icon created by Andreas "
"Nilsson"
msgstr ""
-#: ../src/main_window.c:949
+#: ../src/main_window.c:950
msgid "Inspired by Xarchiver, written by Giuseppe Torelli"
msgstr "Inspiraatio Giuseppe Torellin sovelluksesta Xarchiver"
-#: ../src/main_window.c:954
+#: ../src/main_window.c:955
msgid ""
"Squeeze is a lightweight and flexible archive manager for the Xfce Desktop "
"Environment"
@@ -298,29 +298,29 @@
"Squeeze on kevyt ja joustava arkistonhallintasovellus Xfce-"
"työpöytäympäristöön"
-#: ../src/main_window.c:961
+#: ../src/main_window.c:962
msgid "translator-credits"
msgstr "Jari Rahkonen <jari.rahkonen at pp1.inet.fi>"
-#: ../src/main_window.c:1022
+#: ../src/main_window.c:1023
msgid "Which action do you want to perform on the selected file(s)?"
msgstr "Mitä haluat tehdä valitu(i)lle tiedosto(i)lle?"
-#: ../src/main_window.c:1023
+#: ../src/main_window.c:1024
msgid "Open"
msgstr ""
-#: ../src/main_window.c:1037
+#: ../src/main_window.c:1038
msgid ""
"Squeeze cannot view this file.\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:1109
+#: ../src/main_window.c:1110
msgid "Failed to open file"
msgstr "Linkin avaaminen epäonnistui"
-#: ../src/main_window.c:1110
+#: ../src/main_window.c:1111
#, c-format
msgid ""
"'%s'\n"
@@ -419,41 +419,41 @@
msgid "The amount of space between the path buttons"
msgstr "Polkupainikkeiden välinen tyhjä tila"
-#: ../src/notebook.c:167 ../src/archive_store.c:249
+#: ../src/notebook.c:176 ../src/archive_store.c:249
msgid "Show full path"
msgstr ""
-#: ../src/notebook.c:168 ../src/archive_store.c:250
+#: ../src/notebook.c:177 ../src/archive_store.c:250
#, fuzzy
msgid "Show the full path strings for each entry"
msgstr "Näytä listan kohteiden MIME-tyyppikuvakkeet"
-#: ../src/notebook.c:174 ../src/archive_store.c:256
+#: ../src/notebook.c:183 ../src/archive_store.c:256
msgid "Show mime icons"
msgstr "Näytä MIME-kuvakkeet"
-#: ../src/notebook.c:175 ../src/archive_store.c:257
+#: ../src/notebook.c:184 ../src/archive_store.c:257
msgid "Show the mime type icons for each entry"
msgstr "Näytä listan kohteiden MIME-tyyppikuvakkeet"
-#: ../src/notebook.c:181 ../src/archive_store.c:270
+#: ../src/notebook.c:190 ../src/archive_store.c:270
msgid "Sort folders before files"
msgstr "Hakemistot ennen tiedostoja"
-#: ../src/notebook.c:182 ../src/archive_store.c:271
+#: ../src/notebook.c:191 ../src/archive_store.c:271
msgid "The folders will be put at the top of the list"
msgstr "Näytä hakemistot listan alkupäässä"
-#: ../src/notebook.c:188 ../src/notebook.c:189 ../src/archive_store.c:277
+#: ../src/notebook.c:197 ../src/notebook.c:198 ../src/archive_store.c:277
#: ../src/archive_store.c:278
msgid "Sort text case sensitive"
msgstr "Huomioi kirjainkoko järjestäessä"
-#: ../src/notebook.c:195
+#: ../src/notebook.c:204
msgid "Rules hint"
msgstr "Vuorottele rivivärejä"
-#: ../src/notebook.c:196
+#: ../src/notebook.c:205
msgid "Make the row background colors alternate"
msgstr "Vuorottele rivien taustavärejä"
Modified: squeeze/trunk/po/fr.po
===================================================================
--- squeeze/trunk/po/fr.po 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/po/fr.po 2007-03-29 07:27:49 UTC (rev 25329)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: Squeeze 0.0.1-svn-r24005\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-03-28 15:26+0200\n"
+"POT-Creation-Date: 2007-03-29 09:27+0200\n"
"PO-Revision-Date: 2007-03-18 16:53+0100\n"
"Last-Translator: Maximilian Schleiss <maxschleiss at bluewin.ch>\n"
"Language-Team: French <xfce-i18n at xfce.org>\n"
@@ -15,15 +15,15 @@
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../libsqueeze/archive.c:278
+#: ../libsqueeze/archive.c:276
msgid "Name"
msgstr "Nom"
-#: ../libsqueeze/archive.c:280
+#: ../libsqueeze/archive.c:278
msgid "Mime type"
msgstr "Type MIME"
-#: ../libsqueeze/archive.c:366
+#: ../libsqueeze/archive.c:364
msgid "Done"
msgstr ""
@@ -224,20 +224,20 @@
msgid "Add"
msgstr "Ajouter"
-#: ../src/main_window.c:416 ../src/main_window.c:1023
+#: ../src/main_window.c:416 ../src/main_window.c:1024
#: ../src/extract_dialog.c:100
msgid "Extract"
msgstr "Extraire"
-#: ../src/main_window.c:663
+#: ../src/main_window.c:664
msgid "Open archive in new window"
msgstr "Ouvrir l'archive dans une nouvelle fenêtre"
-#: ../src/main_window.c:669
+#: ../src/main_window.c:670
msgid "Open archive"
msgstr "Ouvrir l'archive"
-#: ../src/main_window.c:738 ../src/main_window.c:1064 ../src/application.c:190
+#: ../src/main_window.c:739 ../src/main_window.c:1065 ../src/application.c:190
msgid ""
"Squeeze cannot extract this archive type,\n"
"the application to support this is missing."
@@ -245,7 +245,7 @@
"Squeeze ne peut pas extraire de fichier de ce type d'archive,\n"
"l'application nécessaire n'est pas présente."
-#: ../src/main_window.c:778 ../src/application.c:264
+#: ../src/main_window.c:779 ../src/application.c:264
msgid ""
"Squeeze cannot add files to this archive type,\n"
"the application to support this is missing."
@@ -253,11 +253,11 @@
"Squeeze ne peut pas ajouter de fichier dans ce type d'archive,\n"
"l'application nécessaire n'est pas présente."
-#: ../src/main_window.c:798
+#: ../src/main_window.c:799
msgid "Are you sure you want to remove the selected files?"
msgstr "Êtes-vous certain de vouloir supprimer les fichiers sélectionnés ?"
-#: ../src/main_window.c:811
+#: ../src/main_window.c:812
msgid ""
"Squeeze cannot remove files from this archive type,\n"
"the application to support this is missing."
@@ -265,7 +265,7 @@
"Squeeze ne peut pas supprimer de fichier dans ce type d'archive,\n"
"l'application nécessaire n'est pas présente."
-#: ../src/main_window.c:858
+#: ../src/main_window.c:859
msgid ""
"Are you sure you want to cancel this operation?\n"
"This could damage the archive."
@@ -273,19 +273,19 @@
"Êtes-vous sûr de vouloir annuler cette opération ?\n"
"Ceci pourrait endommager l'archive."
-#: ../src/main_window.c:940
+#: ../src/main_window.c:941
msgid "Lead developer:"
msgstr "Développeur principal :"
-#: ../src/main_window.c:943
+#: ../src/main_window.c:944
msgid "Contributors:"
msgstr "Contributeurs :"
-#: ../src/main_window.c:946
+#: ../src/main_window.c:947
msgid "Artwork:"
msgstr "Images :"
-#: ../src/main_window.c:947
+#: ../src/main_window.c:948
msgid ""
"The add and extract icons are based on the extract icon created by Andreas "
"Nilsson"
@@ -293,11 +293,11 @@
"Les icônes \"ajouter\" et \"extraire\" sont basés sur les icônes "
"d'extraction de Andreas Nilsson"
-#: ../src/main_window.c:949
+#: ../src/main_window.c:950
msgid "Inspired by Xarchiver, written by Giuseppe Torelli"
msgstr "Inspiré de Xarchiver, écrit par Giuseppe Torelli"
-#: ../src/main_window.c:954
+#: ../src/main_window.c:955
msgid ""
"Squeeze is a lightweight and flexible archive manager for the Xfce Desktop "
"Environment"
@@ -305,20 +305,20 @@
"Squeeze est un gestionnaire d'archives léger et flexible pour "
"l'environnement de bureau xfce"
-#: ../src/main_window.c:961
+#: ../src/main_window.c:962
msgid "translator-credits"
msgstr "Maximilian Schleiss <maxschleiss at bluewin.ch>"
-#: ../src/main_window.c:1022
+#: ../src/main_window.c:1023
msgid "Which action do you want to perform on the selected file(s)?"
msgstr ""
"Quelle action voulez-vous effectuer sur le(s) fichier(s) sélectionné(s) ?"
-#: ../src/main_window.c:1023
+#: ../src/main_window.c:1024
msgid "Open"
msgstr "Ouvrir"
-#: ../src/main_window.c:1037
+#: ../src/main_window.c:1038
msgid ""
"Squeeze cannot view this file.\n"
"the application to support this is missing."
@@ -326,11 +326,11 @@
"Squeeze ne peut pas visionner ce fichier,\n"
"l'application nécessaire n'est pas présente."
-#: ../src/main_window.c:1109
+#: ../src/main_window.c:1110
msgid "Failed to open file"
msgstr "Échec à l'ouverture du fichier"
-#: ../src/main_window.c:1110
+#: ../src/main_window.c:1111
#, c-format
msgid ""
"'%s'\n"
@@ -430,40 +430,40 @@
msgid "The amount of space between the path buttons"
msgstr "L'espacement entre les boutons du chemin"
-#: ../src/notebook.c:167 ../src/archive_store.c:249
+#: ../src/notebook.c:176 ../src/archive_store.c:249
msgid "Show full path"
msgstr "Afficher le chemin complet"
-#: ../src/notebook.c:168 ../src/archive_store.c:250
+#: ../src/notebook.c:177 ../src/archive_store.c:250
msgid "Show the full path strings for each entry"
msgstr "Afficher le chemin complet pour chaque position"
-#: ../src/notebook.c:174 ../src/archive_store.c:256
+#: ../src/notebook.c:183 ../src/archive_store.c:256
msgid "Show mime icons"
msgstr "Afficher les icônes MIME"
-#: ../src/notebook.c:175 ../src/archive_store.c:257
+#: ../src/notebook.c:184 ../src/archive_store.c:257
msgid "Show the mime type icons for each entry"
msgstr "Afficher l'icône du type MIME pour chaque position"
-#: ../src/notebook.c:181 ../src/archive_store.c:270
+#: ../src/notebook.c:190 ../src/archive_store.c:270
msgid "Sort folders before files"
msgstr "Trier les dossiers avant les fichiers"
-#: ../src/notebook.c:182 ../src/archive_store.c:271
+#: ../src/notebook.c:191 ../src/archive_store.c:271
msgid "The folders will be put at the top of the list"
msgstr "Les dossiers s'afficheront en haut de la liste"
-#: ../src/notebook.c:188 ../src/notebook.c:189 ../src/archive_store.c:277
+#: ../src/notebook.c:197 ../src/notebook.c:198 ../src/archive_store.c:277
#: ../src/archive_store.c:278
msgid "Sort text case sensitive"
msgstr "Classer le texte en fonction de la casse"
-#: ../src/notebook.c:195
+#: ../src/notebook.c:204
msgid "Rules hint"
msgstr "Lignes colorées"
-#: ../src/notebook.c:196
+#: ../src/notebook.c:205
msgid "Make the row background colors alternate"
msgstr "Afficher les lignes d'arrière plan en alternant les couleurs"
Modified: squeeze/trunk/po/nl.po
===================================================================
--- squeeze/trunk/po/nl.po 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/po/nl.po 2007-03-29 07:27:49 UTC (rev 25329)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: Squeeze 0.0.1-svn-r24005\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-03-28 15:26+0200\n"
+"POT-Creation-Date: 2007-03-29 09:27+0200\n"
"PO-Revision-Date: 2006-11-28 22:52+0100\n"
"Last-Translator: Stephan Arts <stephan at xfce.org>\n"
"Language-Team: Dutch <vertaling at vrijschrift.org>\n"
@@ -16,15 +16,15 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../libsqueeze/archive.c:278
+#: ../libsqueeze/archive.c:276
msgid "Name"
msgstr "Naam"
-#: ../libsqueeze/archive.c:280
+#: ../libsqueeze/archive.c:278
msgid "Mime type"
msgstr "Mime type"
-#: ../libsqueeze/archive.c:366
+#: ../libsqueeze/archive.c:364
msgid "Done"
msgstr "Klaar"
@@ -219,20 +219,20 @@
msgid "Add"
msgstr "Toevoegen"
-#: ../src/main_window.c:416 ../src/main_window.c:1023
+#: ../src/main_window.c:416 ../src/main_window.c:1024
#: ../src/extract_dialog.c:100
msgid "Extract"
msgstr "Uitpakken"
-#: ../src/main_window.c:663
+#: ../src/main_window.c:664
msgid "Open archive in new window"
msgstr "Archief openen in een niew venster"
-#: ../src/main_window.c:669
+#: ../src/main_window.c:670
msgid "Open archive"
msgstr "Archief openen"
-#: ../src/main_window.c:738 ../src/main_window.c:1064 ../src/application.c:190
+#: ../src/main_window.c:739 ../src/main_window.c:1065 ../src/application.c:190
msgid ""
"Squeeze cannot extract this archive type,\n"
"the application to support this is missing."
@@ -240,7 +240,7 @@
"Squeeze kan dit archief type niet uitpakken,\n"
"het programma om dit te ondersteunen ontbreekt."
-#: ../src/main_window.c:778 ../src/application.c:264
+#: ../src/main_window.c:779 ../src/application.c:264
msgid ""
"Squeeze cannot add files to this archive type,\n"
"the application to support this is missing."
@@ -248,11 +248,11 @@
"Squeeze kan aan dit archief type geen bestanden toevoegen,\n"
"het programma om dit te ondersteunen ontbreekt."
-#: ../src/main_window.c:798
+#: ../src/main_window.c:799
msgid "Are you sure you want to remove the selected files?"
msgstr "Weet je zeker dat je de geselecteerde bestanden wilt verwijderen?"
-#: ../src/main_window.c:811
+#: ../src/main_window.c:812
msgid ""
"Squeeze cannot remove files from this archive type,\n"
"the application to support this is missing."
@@ -260,7 +260,7 @@
"Squeeze kan van dit archief type geen bestanden verwijderen,\n"
"het programma om dit te ondersteunen ontbreekt."
-#: ../src/main_window.c:858
+#: ../src/main_window.c:859
msgid ""
"Are you sure you want to cancel this operation?\n"
"This could damage the archive."
@@ -268,19 +268,19 @@
"Weet je zeker dat je deze actie wilt annuleren?\n"
"Dit zou het archief kunnen beschadigen."
-#: ../src/main_window.c:940
+#: ../src/main_window.c:941
msgid "Lead developer:"
msgstr "Hoofd ontwikkelaar:"
-#: ../src/main_window.c:943
+#: ../src/main_window.c:944
msgid "Contributors:"
msgstr "Medewerkers:"
-#: ../src/main_window.c:946
+#: ../src/main_window.c:947
msgid "Artwork:"
msgstr "Graphisch:"
-#: ../src/main_window.c:947
+#: ../src/main_window.c:948
msgid ""
"The add and extract icons are based on the extract icon created by Andreas "
"Nilsson"
@@ -288,11 +288,11 @@
"De pictogrammen voor het toevoegen en uitpakken zijn gebaseerd op een "
"'uitpakken' pictogram dat gemaakt is door Andreas Nilsson"
-#: ../src/main_window.c:949
+#: ../src/main_window.c:950
msgid "Inspired by Xarchiver, written by Giuseppe Torelli"
msgstr "Geinspireerd door Xarchiver, dat is geschreven door Giuseppe Torelli"
-#: ../src/main_window.c:954
+#: ../src/main_window.c:955
msgid ""
"Squeeze is a lightweight and flexible archive manager for the Xfce Desktop "
"Environment"
@@ -300,19 +300,19 @@
"Squeeze is een lightgewicht en flexibele archief beheerder voor de Xfce "
"Bureaublad omgeving"
-#: ../src/main_window.c:961
+#: ../src/main_window.c:962
msgid "translator-credits"
msgstr "Stephan Arts <stephan at xfce.org>"
-#: ../src/main_window.c:1022
+#: ../src/main_window.c:1023
msgid "Which action do you want to perform on the selected file(s)?"
msgstr "Welke actie wil je uitvoeren op de geselecteerde bestand(en)?"
-#: ../src/main_window.c:1023
+#: ../src/main_window.c:1024
msgid "Open"
msgstr "Openen"
-#: ../src/main_window.c:1037
+#: ../src/main_window.c:1038
msgid ""
"Squeeze cannot view this file.\n"
"the application to support this is missing."
@@ -320,11 +320,11 @@
"Squeeze kan dit bestand niet weergeven.\n"
"het programma om dit te ondersteunen ontbreekt."
-#: ../src/main_window.c:1109
+#: ../src/main_window.c:1110
msgid "Failed to open file"
msgstr "Kan bestand niet openen"
-#: ../src/main_window.c:1110
+#: ../src/main_window.c:1111
#, c-format
msgid ""
"'%s'\n"
@@ -423,40 +423,40 @@
msgid "The amount of space between the path buttons"
msgstr "De ruimte tussen de pad knoppen"
-#: ../src/notebook.c:167 ../src/archive_store.c:249
+#: ../src/notebook.c:176 ../src/archive_store.c:249
msgid "Show full path"
msgstr "Toon volledig pad"
-#: ../src/notebook.c:168 ../src/archive_store.c:250
+#: ../src/notebook.c:177 ../src/archive_store.c:250
msgid "Show the full path strings for each entry"
msgstr "Toon het volledige pad voor elk item"
-#: ../src/notebook.c:174 ../src/archive_store.c:256
+#: ../src/notebook.c:183 ../src/archive_store.c:256
msgid "Show mime icons"
msgstr "Mime iconen weergeven"
-#: ../src/notebook.c:175 ../src/archive_store.c:257
+#: ../src/notebook.c:184 ../src/archive_store.c:257
msgid "Show the mime type icons for each entry"
msgstr "Mime type iconen weergeven voor elk item"
-#: ../src/notebook.c:181 ../src/archive_store.c:270
+#: ../src/notebook.c:190 ../src/archive_store.c:270
msgid "Sort folders before files"
msgstr "Mappen voor bestanden sorteren"
-#: ../src/notebook.c:182 ../src/archive_store.c:271
+#: ../src/notebook.c:191 ../src/archive_store.c:271
msgid "The folders will be put at the top of the list"
msgstr "De mappen zullen boven aan de lijst geplaatst worden"
-#: ../src/notebook.c:188 ../src/notebook.c:189 ../src/archive_store.c:277
+#: ../src/notebook.c:197 ../src/notebook.c:198 ../src/archive_store.c:277
#: ../src/archive_store.c:278
msgid "Sort text case sensitive"
msgstr "Tekst hoofdlettergevoelig sorteren"
-#: ../src/notebook.c:195
+#: ../src/notebook.c:204
msgid "Rules hint"
msgstr "Regel hints"
-#: ../src/notebook.c:196
+#: ../src/notebook.c:205
msgid "Make the row background colors alternate"
msgstr "Laat de achtergrond kleur van de rijen verspringen"
Modified: squeeze/trunk/po/sq.po
===================================================================
--- squeeze/trunk/po/sq.po 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/po/sq.po 2007-03-29 07:27:49 UTC (rev 25329)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: Squeeze 0.0.1-svn-r24005\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-03-28 15:26+0200\n"
+"POT-Creation-Date: 2007-03-29 09:27+0200\n"
"PO-Revision-Date: 2007-01-17 22:53+0200\n"
"Last-Translator: Besnik Bleta <besnik at programeshqip.org>\n"
"Language-Team: Albanian <translation-team-sq at lists.sourceforge.net>\n"
@@ -14,16 +14,16 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../libsqueeze/archive.c:278
+#: ../libsqueeze/archive.c:276
#, fuzzy
msgid "Name"
msgstr "Emër:"
-#: ../libsqueeze/archive.c:280
+#: ../libsqueeze/archive.c:278
msgid "Mime type"
msgstr "Tip MIME"
-#: ../libsqueeze/archive.c:366
+#: ../libsqueeze/archive.c:364
msgid "Done"
msgstr "Kryer"
@@ -226,71 +226,71 @@
msgid "Add"
msgstr "Shto"
-#: ../src/main_window.c:416 ../src/main_window.c:1023
+#: ../src/main_window.c:416 ../src/main_window.c:1024
#: ../src/extract_dialog.c:100
msgid "Extract"
msgstr "Përfto"
-#: ../src/main_window.c:663
+#: ../src/main_window.c:664
msgid "Open archive in new window"
msgstr "Hap arkivë në dritare të re"
-#: ../src/main_window.c:669
+#: ../src/main_window.c:670
msgid "Open archive"
msgstr "Hap arkivë"
-#: ../src/main_window.c:738 ../src/main_window.c:1064 ../src/application.c:190
+#: ../src/main_window.c:739 ../src/main_window.c:1065 ../src/application.c:190
msgid ""
"Squeeze cannot extract this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:778 ../src/application.c:264
+#: ../src/main_window.c:779 ../src/application.c:264
msgid ""
"Squeeze cannot add files to this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:798
+#: ../src/main_window.c:799
#, fuzzy
msgid "Are you sure you want to remove the selected files?"
msgstr "Cilin veprim doni të kryhet mbi kartelën(at) e përzgjedhur?"
-#: ../src/main_window.c:811
+#: ../src/main_window.c:812
msgid ""
"Squeeze cannot remove files from this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:858
+#: ../src/main_window.c:859
msgid ""
"Are you sure you want to cancel this operation?\n"
"This could damage the archive."
msgstr ""
-#: ../src/main_window.c:940
+#: ../src/main_window.c:941
msgid "Lead developer:"
msgstr "Udhëheqës zhvillimi:"
-#: ../src/main_window.c:943
+#: ../src/main_window.c:944
msgid "Contributors:"
msgstr "Pjesëmarrësa:"
-#: ../src/main_window.c:946
+#: ../src/main_window.c:947
msgid "Artwork:"
msgstr ""
-#: ../src/main_window.c:947
+#: ../src/main_window.c:948
msgid ""
"The add and extract icons are based on the extract icon created by Andreas "
"Nilsson"
msgstr ""
-#: ../src/main_window.c:949
+#: ../src/main_window.c:950
msgid "Inspired by Xarchiver, written by Giuseppe Torelli"
msgstr "Frymëzuar prej Xarchiver, shkruar nga Giuseppe Torelli"
-#: ../src/main_window.c:954
+#: ../src/main_window.c:955
msgid ""
"Squeeze is a lightweight and flexible archive manager for the Xfce Desktop "
"Environment"
@@ -298,29 +298,29 @@
"Squeeze është një përgjegjës arkivash i peshës së lehtë dhe i epshëm për "
"Mjedisin Desktop Xfce"
-#: ../src/main_window.c:961
+#: ../src/main_window.c:962
msgid "translator-credits"
msgstr "kredite përkthyesish"
-#: ../src/main_window.c:1022
+#: ../src/main_window.c:1023
msgid "Which action do you want to perform on the selected file(s)?"
msgstr "Cilin veprim doni të kryhet mbi kartelën(at) e përzgjedhur?"
-#: ../src/main_window.c:1023
+#: ../src/main_window.c:1024
msgid "Open"
msgstr ""
-#: ../src/main_window.c:1037
+#: ../src/main_window.c:1038
msgid ""
"Squeeze cannot view this file.\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:1109
+#: ../src/main_window.c:1110
msgid "Failed to open file"
msgstr "Dështova në hapje kartel"
-#: ../src/main_window.c:1110
+#: ../src/main_window.c:1111
#, c-format
msgid ""
"'%s'\n"
@@ -418,41 +418,41 @@
msgid "The amount of space between the path buttons"
msgstr "Sasia e hapësirës midis butonave të shtegut"
-#: ../src/notebook.c:167 ../src/archive_store.c:249
+#: ../src/notebook.c:176 ../src/archive_store.c:249
msgid "Show full path"
msgstr ""
-#: ../src/notebook.c:168 ../src/archive_store.c:250
+#: ../src/notebook.c:177 ../src/archive_store.c:250
#, fuzzy
msgid "Show the full path strings for each entry"
msgstr "Shfaq ikona tipesh mime për secilin zë"
-#: ../src/notebook.c:174 ../src/archive_store.c:256
+#: ../src/notebook.c:183 ../src/archive_store.c:256
msgid "Show mime icons"
msgstr "Shfaq ikona mime"
-#: ../src/notebook.c:175 ../src/archive_store.c:257
+#: ../src/notebook.c:184 ../src/archive_store.c:257
msgid "Show the mime type icons for each entry"
msgstr "Shfaq ikona tipesh mime për secilin zë"
-#: ../src/notebook.c:181 ../src/archive_store.c:270
+#: ../src/notebook.c:190 ../src/archive_store.c:270
msgid "Sort folders before files"
msgstr "Rendit dosje përpara kartelash"
-#: ../src/notebook.c:182 ../src/archive_store.c:271
+#: ../src/notebook.c:191 ../src/archive_store.c:271
msgid "The folders will be put at the top of the list"
msgstr "Dosjet do të vendosen në krye të listës"
-#: ../src/notebook.c:188 ../src/notebook.c:189 ../src/archive_store.c:277
+#: ../src/notebook.c:197 ../src/notebook.c:198 ../src/archive_store.c:277
#: ../src/archive_store.c:278
msgid "Sort text case sensitive"
msgstr "Rendit text siç është shkruajtur"
-#: ../src/notebook.c:195
+#: ../src/notebook.c:204
msgid "Rules hint"
msgstr ""
-#: ../src/notebook.c:196
+#: ../src/notebook.c:205
msgid "Make the row background colors alternate"
msgstr "Bëji ngjyrat e sfondit të rreshtit të zëvendësojnë njëra tjetrën"
Modified: squeeze/trunk/po/squeeze.pot
===================================================================
--- squeeze/trunk/po/squeeze.pot 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/po/squeeze.pot 2007-03-29 07:27:49 UTC (rev 25329)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: stephan at xfce.org\n"
-"POT-Creation-Date: 2007-03-28 15:26+0200\n"
+"POT-Creation-Date: 2007-03-29 09:27+0200\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"
@@ -16,15 +16,15 @@
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../libsqueeze/archive.c:278
+#: ../libsqueeze/archive.c:276
msgid "Name"
msgstr ""
-#: ../libsqueeze/archive.c:280
+#: ../libsqueeze/archive.c:278
msgid "Mime type"
msgstr ""
-#: ../libsqueeze/archive.c:366
+#: ../libsqueeze/archive.c:364
msgid "Done"
msgstr ""
@@ -215,98 +215,98 @@
msgid "Add"
msgstr ""
-#: ../src/main_window.c:416 ../src/main_window.c:1023
+#: ../src/main_window.c:416 ../src/main_window.c:1024
#: ../src/extract_dialog.c:100
msgid "Extract"
msgstr ""
-#: ../src/main_window.c:663
+#: ../src/main_window.c:664
msgid "Open archive in new window"
msgstr ""
-#: ../src/main_window.c:669
+#: ../src/main_window.c:670
msgid "Open archive"
msgstr ""
-#: ../src/main_window.c:738 ../src/main_window.c:1064 ../src/application.c:190
+#: ../src/main_window.c:739 ../src/main_window.c:1065 ../src/application.c:190
msgid ""
"Squeeze cannot extract this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:778 ../src/application.c:264
+#: ../src/main_window.c:779 ../src/application.c:264
msgid ""
"Squeeze cannot add files to this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:798
+#: ../src/main_window.c:799
msgid "Are you sure you want to remove the selected files?"
msgstr ""
-#: ../src/main_window.c:811
+#: ../src/main_window.c:812
msgid ""
"Squeeze cannot remove files from this archive type,\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:858
+#: ../src/main_window.c:859
msgid ""
"Are you sure you want to cancel this operation?\n"
"This could damage the archive."
msgstr ""
-#: ../src/main_window.c:940
+#: ../src/main_window.c:941
msgid "Lead developer:"
msgstr ""
-#: ../src/main_window.c:943
+#: ../src/main_window.c:944
msgid "Contributors:"
msgstr ""
-#: ../src/main_window.c:946
+#: ../src/main_window.c:947
msgid "Artwork:"
msgstr ""
-#: ../src/main_window.c:947
+#: ../src/main_window.c:948
msgid ""
"The add and extract icons are based on the extract icon created by Andreas "
"Nilsson"
msgstr ""
-#: ../src/main_window.c:949
+#: ../src/main_window.c:950
msgid "Inspired by Xarchiver, written by Giuseppe Torelli"
msgstr ""
-#: ../src/main_window.c:954
+#: ../src/main_window.c:955
msgid ""
"Squeeze is a lightweight and flexible archive manager for the Xfce Desktop "
"Environment"
msgstr ""
-#: ../src/main_window.c:961
+#: ../src/main_window.c:962
msgid "translator-credits"
msgstr ""
-#: ../src/main_window.c:1022
+#: ../src/main_window.c:1023
msgid "Which action do you want to perform on the selected file(s)?"
msgstr ""
-#: ../src/main_window.c:1023
+#: ../src/main_window.c:1024
msgid "Open"
msgstr ""
-#: ../src/main_window.c:1037
+#: ../src/main_window.c:1038
msgid ""
"Squeeze cannot view this file.\n"
"the application to support this is missing."
msgstr ""
-#: ../src/main_window.c:1109
+#: ../src/main_window.c:1110
msgid "Failed to open file"
msgstr ""
-#: ../src/main_window.c:1110
+#: ../src/main_window.c:1111
#, c-format
msgid ""
"'%s'\n"
@@ -402,40 +402,40 @@
msgid "The amount of space between the path buttons"
msgstr ""
-#: ../src/notebook.c:167 ../src/archive_store.c:249
+#: ../src/notebook.c:176 ../src/archive_store.c:249
msgid "Show full path"
msgstr ""
-#: ../src/notebook.c:168 ../src/archive_store.c:250
+#: ../src/notebook.c:177 ../src/archive_store.c:250
msgid "Show the full path strings for each entry"
msgstr ""
-#: ../src/notebook.c:174 ../src/archive_store.c:256
+#: ../src/notebook.c:183 ../src/archive_store.c:256
msgid "Show mime icons"
msgstr ""
-#: ../src/notebook.c:175 ../src/archive_store.c:257
+#: ../src/notebook.c:184 ../src/archive_store.c:257
msgid "Show the mime type icons for each entry"
msgstr ""
-#: ../src/notebook.c:181 ../src/archive_store.c:270
+#: ../src/notebook.c:190 ../src/archive_store.c:270
msgid "Sort folders before files"
msgstr ""
-#: ../src/notebook.c:182 ../src/archive_store.c:271
+#: ../src/notebook.c:191 ../src/archive_store.c:271
msgid "The folders will be put at the top of the list"
msgstr ""
-#: ../src/notebook.c:188 ../src/notebook.c:189 ../src/archive_store.c:277
+#: ../src/notebook.c:197 ../src/notebook.c:198 ../src/archive_store.c:277
#: ../src/archive_store.c:278
msgid "Sort text case sensitive"
msgstr ""
-#: ../src/notebook.c:195
+#: ../src/notebook.c:204
msgid "Rules hint"
msgstr ""
-#: ../src/notebook.c:196
+#: ../src/notebook.c:205
msgid "Make the row background colors alternate"
msgstr ""
Modified: squeeze/trunk/src/main_window.c
===================================================================
--- squeeze/trunk/src/main_window.c 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/src/main_window.c 2007-03-29 07:27:49 UTC (rev 25329)
@@ -105,7 +105,7 @@
cb_sq_main_window_notebook_page_removed(SQNotebook *, gpointer);
static void
cb_sq_main_window_notebook_file_activated(SQNotebook *, gchar *, gpointer);
-/* static void cb_sq_main_window_notebook_status_changed(SQNotebook *, LSQArchive *, gpointer); */
+ static void cb_sq_main_window_notebook_state_changed(SQNotebook *, LSQArchive *, gpointer);
static void
sq_main_window_set_navigation(SQMainWindow *window);
@@ -469,6 +469,7 @@
/* main view */
window->notebook = sq_notebook_new(window->navigationbar, use_tabs, window->accel_group);
+ g_signal_connect(G_OBJECT(window->notebook), "archive-state-changed", G_CALLBACK(cb_sq_main_window_notebook_state_changed), window);
g_signal_connect(G_OBJECT(window->notebook), "switch-page", G_CALLBACK(cb_sq_main_window_notebook_page_switched), window);
g_signal_connect(G_OBJECT(window->notebook), "archive-removed", G_CALLBACK(cb_sq_main_window_notebook_page_removed), window);
g_signal_connect(G_OBJECT(window->notebook), "file-activated", G_CALLBACK(cb_sq_main_window_notebook_file_activated), window);
@@ -1170,13 +1171,11 @@
}
}
-/*
static void
-cb_sq_main_window_notebook_status_changed(SQNotebook *notebook, LSQArchive *archive, gpointer userdata)
+cb_sq_main_window_notebook_state_changed(SQNotebook *notebook, LSQArchive *archive, gpointer userdata)
{
SQMainWindow *window = SQ_MAIN_WINDOW(userdata);
guint context_id = gtk_statusbar_get_context_id(GTK_STATUSBAR(window->statusbar), "Window Statusbar");
gtk_statusbar_push(GTK_STATUSBAR(window->statusbar), context_id, lsq_archive_get_status(archive));
}
-*/
Modified: squeeze/trunk/src/notebook.c
===================================================================
--- squeeze/trunk/src/notebook.c 2007-03-29 07:08:32 UTC (rev 25328)
+++ squeeze/trunk/src/notebook.c 2007-03-29 07:27:49 UTC (rev 25329)
@@ -54,6 +54,8 @@
static void
cb_notebook_archive_refreshed(LSQArchive *archive, GtkTreeView *tree_view);
static void
+cb_notebook_archive_state_changed(LSQArchive *archive, SQNotebook *notebook);
+static void
cb_notebook_file_activated(SQArchiveStore *, gchar *, SQNotebook *);
static void
@@ -79,7 +81,7 @@
SQ_NOTEBOOK_SIGNAL_PAGE_UP,
SQ_NOTEBOOK_SIGNAL_PAGE_DOWN,
SQ_NOTEBOOK_SIGNAL_FILE_ACTIVATED,
- SQ_NOTEBOOK_SIGNAL_ACTIVE_ARCHIVE_STATUS_CHANGED,
+ SQ_NOTEBOOK_SIGNAL_STATE_CHANGED, /* is emitted when the state of the active archive changed */
SQ_NOTEBOOK_SIGNAL_COUNT
};
@@ -157,6 +159,13 @@
g_cclosure_marshal_VOID__POINTER,
G_TYPE_NONE, 1, G_TYPE_STRING, NULL);
+ sq_notebook_signals[SQ_NOTEBOOK_SIGNAL_STATE_CHANGED] = g_signal_new("archive-state-changed",
+ G_TYPE_FROM_CLASS(notebook_class),
+ G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, 0,
+ NULL, NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE, 1, G_TYPE_OBJECT, NULL);
+
pspec = g_param_spec_boolean("multi_tab",
"",
"",
@@ -521,6 +530,7 @@
gtk_widget_show(scroll_window);
g_signal_connect(G_OBJECT(archive), "refreshed", G_CALLBACK(cb_notebook_archive_refreshed), tree_view);
+ g_signal_connect(G_OBJECT(archive), "state-changed", G_CALLBACK(cb_notebook_archive_state_changed), notebook);
g_signal_connect(G_OBJECT(close_button), "clicked", G_CALLBACK(cb_notebook_close_archive), scroll_window);
g_signal_connect(G_OBJECT(tree_model), "file-activated", G_CALLBACK(cb_notebook_file_activated), notebook);
@@ -614,6 +624,13 @@
}
static void
+cb_notebook_archive_state_changed(LSQArchive *archive, SQNotebook *notebook)
+{
+ if(sq_notebook_is_active_archive(notebook, archive))
+ g_signal_emit(G_OBJECT(notebook), sq_notebook_signals[SQ_NOTEBOOK_SIGNAL_STATE_CHANGED], 0, archive, NULL);
+}
+
+static void
sq_notebook_treeview_reset_columns(LSQArchive *archive, GtkTreeView *treeview)
{
GtkCellRenderer *renderer = NULL;
More information about the Xfce4-commits
mailing list