[Xfce4-commits] Avoid adding empty strings created by g_strsplit

2009-09-25 Thread David Mohr
Updating branch refs/heads/master
 to 7954cdc1867a22a6f145a0a74966aab7e00f38cf (commit)
   from c10597ce29ba0d40c62b8df1d4c0966da3bf3917 (commit)

commit 7954cdc1867a22a6f145a0a74966aab7e00f38cf
Author: David Mohr 
Date:   Fri Sep 25 23:16:56 2009 -0600

Avoid adding empty strings created by g_strsplit

 xfburn/xfburn-audio-composition.c |5 +++--
 xfburn/xfburn-data-composition.c  |4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/xfburn/xfburn-audio-composition.c 
b/xfburn/xfburn-audio-composition.c
index 34edf8b..6a9d014 100644
--- a/xfburn/xfburn-audio-composition.c
+++ b/xfburn/xfburn-audio-composition.c
@@ -1342,7 +1342,7 @@ thread_add_files_action (ThreadAddFilesActionParams 
*params)
   files = g_strsplit (priv->selected_files, "\n", -1);
 
   if (files)
-for (i=0; files[i] != NULL; i++) {
+for (i=0; files[i] != NULL && files[i][0] != '\0'; i++) {
   GtkTreeIter iter;
   gchar *full_path = NULL;
   
@@ -1704,8 +1704,9 @@ cb_content_drag_data_rcv (GtkWidget * widget, 
GdkDragContext * dc, guint x, guin
 full_paths = (gchar *) gtk_selection_data_get_text (sd);
 
 files = g_strsplit ((gchar *) full_paths, "\n", -1);
+
 if (files)
-  for (i=0; files[i] != NULL; i++) {
+  for (i=0; files[i] != NULL && files[i][0] != '\0'; i++) {
 gchar *full_path;
 
 #ifdef HAVE_THUNAR_VFS
diff --git a/xfburn/xfburn-data-composition.c b/xfburn/xfburn-data-composition.c
index b4f1477..54c1a97 100644
--- a/xfburn/xfburn-data-composition.c
+++ b/xfburn/xfburn-data-composition.c
@@ -1316,7 +1316,7 @@ thread_add_files_action (ThreadAddFilesActionParams 
*params)
   files = g_strsplit (priv->selected_files, "\n", -1);
 
   if (files)
-for (i=0; files[i] != NULL; i++) {
+for (i=0; files[i] != NULL && files[i][0] != '\0'; i++) {
   GtkTreeIter iter;
   gchar *full_path = NULL;
   
@@ -1668,7 +1668,7 @@ cb_content_drag_data_rcv (GtkWidget * widget, 
GdkDragContext * dc, guint x, guin
 
 if (files) {
 
-  for (i=0; files[i] != NULL; i++) {
+  for (i=0; files[i] != NULL && files[i][0] != '\0'; i++) {
 gchar *full_path;
 
 #ifdef HAVE_THUNAR_VFS
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Replace strtok with g_strsplit

2009-09-25 Thread David Mohr
Updating branch refs/heads/master
 to bd307af4667300f014cf223423a4007a889a11f1 (commit)
   from b4fb76a0d9fcc979f47ffe6885e4f1462ef88279 (commit)

commit bd307af4667300f014cf223423a4007a889a11f1
Author: David Mohr 
Date:   Fri Sep 25 22:46:24 2009 -0600

Replace strtok with g_strsplit

 xfburn/xfburn-audio-composition.c |  150 ++-
 xfburn/xfburn-data-composition.c  |  207 +++--
 2 files changed, 187 insertions(+), 170 deletions(-)

diff --git a/xfburn/xfburn-audio-composition.c 
b/xfburn/xfburn-audio-composition.c
index 099b0a2..b7e306f 100644
--- a/xfburn/xfburn-audio-composition.c
+++ b/xfburn/xfburn-audio-composition.c
@@ -1335,52 +1335,57 @@ thread_add_files_action (ThreadAddFilesActionParams 
*params)
   GtkTreeModel *model = params->model;
   GtkTreeIter iter_where_insert = params->iter_where_insert;
   //GtkTreePath *path_where_insert = priv->path_where_insert;
-  const gchar * file = NULL;
+  gchar ** files = NULL;
+  int i;
 
 
-  file = strtok (priv->selected_files, "\n");
-  while (file) {
-GtkTreeIter iter;
-gchar *full_path = NULL;
-
-if (g_str_has_prefix (file, "file://"))
-  full_path = g_build_filename (&file[7], NULL);
-else if (g_str_has_prefix (file, "file:"))
-  full_path = g_build_filename (&file[5], NULL);
-else
-  full_path = g_build_filename (file, NULL);
+  files = g_strsplit (priv->selected_files, "\n", -1);
 
-if (full_path[strlen (full_path) - 1] == '\r')
-  full_path[strlen (full_path) - 1] = '\0';
+  if (files)
+for (i=0; files[i] != NULL; i++) {
+  GtkTreeIter iter;
+  gchar *full_path = NULL;
+  
+  if (g_str_has_prefix (files[i], "file://"))
+full_path = g_build_filename (&files[i][7], NULL);
+  else if (g_str_has_prefix (files[i], "file:"))
+full_path = g_build_filename (&files[i][5], NULL);
+  else
+full_path = g_build_filename (files[i], NULL);
 
-if (strcmp (full_path, g_getenv ("HOME")) == 0) {
-  if (!show_add_home_question_dialog ()) {
-g_free (full_path);
-break;
+  if (full_path[strlen (full_path) - 1] == '\r')
+full_path[strlen (full_path) - 1] = '\0';
+
+  if (strcmp (full_path, g_getenv ("HOME")) == 0) {
+if (!show_add_home_question_dialog ()) {
+  g_free (full_path);
+  break;
+}
   }
-}
 
-/* add files to the disc content */
-if (params->type == AUDIO_COMPOSITION_TYPE_RAW) {
-  GtkTreeIter parent;
-  gboolean has_parent;
+  /* add files to the disc content */
+  if (params->type == AUDIO_COMPOSITION_TYPE_RAW) {
+GtkTreeIter parent;
+gboolean has_parent;
 
-  gdk_threads_enter ();
-  has_parent = gtk_tree_model_iter_parent (model, &parent, 
&iter_where_insert);
-  gdk_threads_leave ();
-  
-  if (has_parent)
-thread_add_file_to_list (dc, model, full_path, &iter, &parent, 
GTK_TREE_VIEW_DROP_INTO_OR_AFTER);  
-  else 
+gdk_threads_enter ();
+has_parent = gtk_tree_model_iter_parent (model, &parent, 
&iter_where_insert);
+gdk_threads_leave ();
+
+if (has_parent)
+  thread_add_file_to_list (dc, model, full_path, &iter, &parent, 
GTK_TREE_VIEW_DROP_INTO_OR_AFTER);  
+else 
+  thread_add_file_to_list (dc, model, full_path, &iter, NULL, 
GTK_TREE_VIEW_DROP_AFTER);  
+  } else {
 thread_add_file_to_list (dc, model, full_path, &iter, NULL, 
GTK_TREE_VIEW_DROP_AFTER);  
-} else {
-  thread_add_file_to_list (dc, model, full_path, &iter, NULL, 
GTK_TREE_VIEW_DROP_AFTER);  
+  }
+  
+  g_free (full_path);
+
 }
-
-g_free (full_path);
+  /* end if files */
 
-file = strtok (NULL, "\n");
-  }
+  g_strfreev (files);
   xfburn_adding_progress_done (XFBURN_ADDING_PROGRESS (priv->progress));
 }
 
@@ -1689,63 +1694,66 @@ cb_content_drag_data_rcv (GtkWidget * widget, 
GdkDragContext * dc, guint x, guin
   /* drag from the file selector */
   else if (sd->target == gdk_atom_intern ("text/plain;charset=utf-8", FALSE)) {
 ThreadAddFilesDragParams *params;
-const gchar *file = NULL;
+gchar **files = NULL;
 gboolean ret = FALSE;
 gchar *full_paths;
+int i;
 
 xfburn_adding_progress_show (XFBURN_ADDING_PROGRESS (priv->progress));
 
 full_paths = (gchar *) gtk_selection_data_get_text (sd);
 
-file = strtok ((gchar *) full_paths, "\n");
-while (file) {
-  gchar *full_path;
+files = g_strsplit ((gchar *) full_paths, "\n", -1);
+if (files)
+  for (i=0; files[i] != NULL; i++) {
+gchar *full_path;
 
 #ifdef HAVE_THUNAR_VFS
-  ThunarVfsPath *vfs_path;
-  GError *vfs_error = NULL;
+ThunarVfsPath *vfs_path;
+GError *vfs_error = NULL;
 
-  vfs_path = thunar_vfs_path_new (file, &vfs_error);
+vfs_path = thunar_vfs_path_new (files[i], &vfs_error);
 
-  if (vfs_error) {
- 

[Xfce4-commits] Removing svn $ tags

2009-09-25 Thread David Mohr
Updating branch refs/heads/master
 to b4fb76a0d9fcc979f47ffe6885e4f1462ef88279 (commit)
   from 78995b7eee0acde27bd0ea41137a7635174d362e (commit)

commit b4fb76a0d9fcc979f47ffe6885e4f1462ef88279
Author: David Mohr 
Date:   Wed Sep 23 18:12:21 2009 -0600

Removing svn $ tags

 xfburn/xfburn-adding-progress.c   |1 -
 xfburn/xfburn-adding-progress.h   |1 -
 xfburn/xfburn-audio-composition.c |1 -
 xfburn/xfburn-audio-composition.h |1 -
 xfburn/xfburn-audio-disc-usage.c  |1 -
 xfburn/xfburn-audio-disc-usage.h  |1 -
 xfburn/xfburn-audio-track-gst.c   |1 -
 xfburn/xfburn-audio-track-gst.h   |1 -
 xfburn/xfburn-audio-track.c   |1 -
 xfburn/xfburn-audio-track.h   |1 -
 xfburn/xfburn-blank-dialog.c  |1 -
 xfburn/xfburn-blank-dialog.h  |1 -
 xfburn/xfburn-burn-audio-cd-composition-dialog.c  |1 -
 xfburn/xfburn-burn-audio-cd-composition-dialog.h  |1 -
 xfburn/xfburn-burn-data-cd-composition-dialog.c   |1 -
 xfburn/xfburn-burn-data-cd-composition-dialog.h   |1 -
 xfburn/xfburn-burn-data-composition-base-dialog.c |1 -
 xfburn/xfburn-burn-data-composition-base-dialog.h |1 -
 xfburn/xfburn-burn-data-dvd-composition-dialog.c  |1 -
 xfburn/xfburn-burn-data-dvd-composition-dialog.h  |1 -
 xfburn/xfburn-burn-image-dialog.c |1 -
 xfburn/xfburn-burn-image-dialog.h |1 -
 xfburn/xfburn-composition.c   |1 -
 xfburn/xfburn-composition.h   |1 -
 xfburn/xfburn-compositions-notebook.c |1 -
 xfburn/xfburn-compositions-notebook.h |1 -
 xfburn/xfburn-copy-cd-dialog.c|1 -
 xfburn/xfburn-copy-cd-dialog.h|1 -
 xfburn/xfburn-copy-cd-progress-dialog.c   |1 -
 xfburn/xfburn-copy-cd-progress-dialog.h   |1 -
 xfburn/xfburn-copy-dvd-dialog.c   |1 -
 xfburn/xfburn-copy-dvd-dialog.h   |1 -
 xfburn/xfburn-create-iso-progress-dialog.c|1 -
 xfburn/xfburn-create-iso-progress-dialog.h|1 -
 xfburn/xfburn-data-composition.c  |1 -
 xfburn/xfburn-data-composition.h  |1 -
 xfburn/xfburn-data-disc-usage.c   |1 -
 xfburn/xfburn-data-disc-usage.h   |1 -
 xfburn/xfburn-device-box.c|1 -
 xfburn/xfburn-device-box.h|1 -
 xfburn/xfburn-device-list.c   |1 -
 xfburn/xfburn-device-list.h   |1 -
 xfburn/xfburn-directory-browser.c |1 -
 xfburn/xfburn-directory-browser.h |1 -
 xfburn/xfburn-disc-usage.c|1 -
 xfburn/xfburn-disc-usage.h|1 -
 xfburn/xfburn-error.c |1 -
 xfburn/xfburn-error.h |1 -
 xfburn/xfburn-file-browser.c  |1 -
 xfburn/xfburn-file-browser.h  |1 -
 xfburn/xfburn-fs-browser.c|1 -
 xfburn/xfburn-fs-browser.h|1 -
 xfburn/xfburn-global.h|1 -
 xfburn/xfburn-hal-manager.c   |1 -
 xfburn/xfburn-hal-manager.h   |1 -
 xfburn/xfburn-main-window.c   |1 -
 xfburn/xfburn-main-window.h   |1 -
 xfburn/xfburn-main.c  |1 -
 xfburn/xfburn-main.h  |1 -
 xfburn/xfburn-notebook-tab.c  |1 -
 xfburn/xfburn-notebook-tab.h  |1 -
 xfburn/xfburn-perform-burn.c  |1 -
 xfburn/xfburn-perform-burn.h  |1 -
 xfburn/xfburn-preferences-dialog.c|1 -
 xfburn/xfburn-preferences-dialog.h|1 -
 xfburn/xfburn-progress-dialog.c   |1 -
 xfburn/xfburn-progress-dialog.h   |1 -
 xfburn/xfburn-settings.c  |1 -
 xfburn/xfburn-settings.h  |1 -
 xfburn/xfburn-stock.c |1 -
 xfburn/xfburn-stock.h |1 -
 xfburn/xfburn-transcoder-basic.c  |1 -
 xfburn/xfburn-transcoder-basic.h  |1 -
 xfburn/xfburn-transcoder-gst.c|1 -
 xfburn/xfburn-transcoder-gst.h|1 -
 xfburn/xfburn-transcoder.c|1 -
 xfburn/xfburn-transcoder.h|1 -
 xfburn/xfburn-utils.c |1 -
 xfburn/xfburn-utils.h 

[Xfce4-commits] Ignore cores

2009-09-25 Thread David Mohr
Updating branch refs/heads/master
 to c10597ce29ba0d40c62b8df1d4c0966da3bf3917 (commit)
   from ca123e1f58f4a67b6d5c64a0bbd34bea9ccf6508 (commit)

commit c10597ce29ba0d40c62b8df1d4c0966da3bf3917
Author: David Mohr 
Date:   Fri Sep 25 23:14:43 2009 -0600

Ignore cores

 .gitignore |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index bb4f7d4..604d853 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,3 +46,5 @@ xfburn/xfburn-cclosure-marshal.c
 xfburn/xfburn-cclosure-marshal.h
 xfburn/.deps
 docs/xfburn.1
+core
+core.*
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Copy tree path for thread because it will get freed in the main thread immediately

2009-09-25 Thread David Mohr
Updating branch refs/heads/master
 to ca123e1f58f4a67b6d5c64a0bbd34bea9ccf6508 (commit)
   from bd307af4667300f014cf223423a4007a889a11f1 (commit)

commit ca123e1f58f4a67b6d5c64a0bbd34bea9ccf6508
Author: David Mohr 
Date:   Fri Sep 25 23:14:02 2009 -0600

Copy tree path for thread because it will get freed in the main thread 
immediately

 xfburn/xfburn-audio-composition.c |2 +-
 xfburn/xfburn-data-composition.c  |6 --
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/xfburn/xfburn-audio-composition.c 
b/xfburn/xfburn-audio-composition.c
index b7e306f..34edf8b 100644
--- a/xfburn/xfburn-audio-composition.c
+++ b/xfburn/xfburn-audio-composition.c
@@ -987,7 +987,7 @@ action_add_selected_files (GtkAction *action, 
XfburnAudioComposition *dc)
 params->model = gtk_tree_view_get_model (GTK_TREE_VIEW (priv->content));
 
 if (selected_paths) {
-  priv->path_where_insert = (GtkTreePath *) (selected_paths->data);
+  priv->path_where_insert = gtk_tree_path_copy ((GtkTreePath *) 
(selected_paths->data));
 
   gtk_tree_model_get_iter (params->model, ¶ms->iter_where_insert, 
priv->path_where_insert);
   gtk_tree_model_get (params->model, ¶ms->iter_where_insert, 
AUDIO_COMPOSITION_COLUMN_TYPE, ¶ms->type, -1);
diff --git a/xfburn/xfburn-data-composition.c b/xfburn/xfburn-data-composition.c
index ea31735..b4f1477 100644
--- a/xfburn/xfburn-data-composition.c
+++ b/xfburn/xfburn-data-composition.c
@@ -928,7 +928,7 @@ action_add_selected_files (GtkAction *action, 
XfburnDataComposition *dc)
 params->model = gtk_tree_view_get_model (GTK_TREE_VIEW (priv->content));
 
 if (selected_paths) {
-  priv->path_where_insert = (GtkTreePath *) (selected_paths->data);
+  priv->path_where_insert = gtk_tree_path_copy ((GtkTreePath *) 
(selected_paths->data));
 
   gtk_tree_model_get_iter (params->model, ¶ms->iter_where_insert, 
priv->path_where_insert);
   gtk_tree_model_get (params->model, ¶ms->iter_where_insert, 
DATA_COMPOSITION_COLUMN_TYPE, ¶ms->type, -1);
@@ -1315,7 +1315,7 @@ thread_add_files_action (ThreadAddFilesActionParams 
*params)
 
   files = g_strsplit (priv->selected_files, "\n", -1);
 
-  if (!files)
+  if (files)
 for (i=0; files[i] != NULL; i++) {
   GtkTreeIter iter;
   gchar *full_path = NULL;
@@ -1711,6 +1711,7 @@ cb_content_drag_data_rcv (GtkWidget * widget, 
GdkDragContext * dc, guint x, guin
   g_free (full_paths);
 
   priv->full_paths_to_add = g_list_reverse (priv->full_paths_to_add);
+  /* FIXME: path_where_insert is always NULL here */
   priv->path_where_insert = path_where_insert;
 
   params = g_new (ThreadAddFilesDragParams, 1);
@@ -1750,6 +1751,7 @@ cb_content_drag_data_rcv (GtkWidget * widget, 
GdkDragContext * dc, guint x, guin
   thunar_vfs_path_list_free (vfs_paths);
 
   priv->full_paths_to_add = g_list_reverse (priv->full_paths_to_add);
+  /* FIXME: path_where_insert is always NULL here */
   priv->path_where_insert = path_where_insert;
 
   params = g_new (ThreadAddFilesDragParams, 1);
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updates to Albanian (sq) translation

2009-09-25 Thread Transifex
Updating branch refs/heads/master
 to 66c5a477abba51924dcdfbc2fc8322ad4d7e12c1 (commit)
   from c67549e4b0648a95af9b1e5197cacdc452fea68b (commit)

commit 66c5a477abba51924dcdfbc2fc8322ad4d7e12c1
Author: Besnik Bleta 
Date:   Fri Sep 25 23:00:30 2009 +

l10n: Updates to Albanian (sq) translation

Transmitted-via: Transifex (translations.xfce.org)

 po/sq.po |   24 +++-
 1 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/po/sq.po b/po/sq.po
index c7f1bc2..d76a5c8 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -7,7 +7,7 @@ msgstr ""
 "Project-Id-Version: xfce-utils 4.3.99.2\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-02-01 11:39+0100\n"
-"PO-Revision-Date: 2008-11-04 22:28+0200\n"
+"PO-Revision-Date: 2009-09-26 02:09+0200\n"
 "Last-Translator: Besnik Bleta \n"
 "Language-Team: Albanian \n"
 "MIME-Version: 1.0\n"
@@ -64,20 +64,17 @@ msgstr "Përkthyesa"
 
 #: ../xfce4-about/info.c:318
 msgid "If you know of anyone missing from this list, please let us know on <"
-msgstr ""
-"Nëse dini ndonjë që i mungon kësaj liste, ju lutemi na e bëni të ditur 
<"
+msgstr "Nëse dini ndonjë që i mungon kësaj liste, ju lutemi na e bëni të 
ditur <"
 
 #: ../xfce4-about/info.c:322
 msgid "Thanks to all who helped making this software available."
-msgstr ""
-"Falenderime për të gjithë ata që ndihmuan në realizimin e këtij 
software-i."
+msgstr "Falenderime për të gjithë ata që ndihmuan në realizimin e këtij 
software-i."
 
 #: ../xfce4-about/info.c:431
 msgid "About Xfce 4"
 msgstr "Rreth Xfce 4-s"
 
 #: ../xfce4-about/info.c:432
-#, fuzzy
 msgid "Copyright 2002-2009 by Olivier Fourdan"
 msgstr "Të Drejta Kopjimi 2002-2009 nga Olivier Fourdan"
 
@@ -117,9 +114,7 @@ msgstr "Mënyra daemon nuk mbulohet."
 
 #: ../xfrun/xfrun.c:53
 msgid "Xfrun must be compiled with D-BUS support to enable daemon mode."
-msgstr ""
-"Për të bërë të mundur aktivizimin e mënyrës daemon Xfrun duhet 
përpiluar me "
-"mbulim të D-BUS-it."
+msgstr "Për të bërë të mundur aktivizimin e mënyrës daemon Xfrun duhet 
përpiluar me mbulim të D-BUS-it."
 
 #: ../xfrun/xfrun-dbus.c:141
 #, c-format
@@ -132,11 +127,13 @@ msgid "D-BUS message bus disconnected. Exiting ...\n"
 msgstr "Busi i mesazheve D-BUS është shkëputur. Po dal ...\n"
 
 #. failed
-#: ../xfrun/xfrun-dbus.c:342 ../xfrun/xfrun-dbus.c:353
+#: ../xfrun/xfrun-dbus.c:342
+#: ../xfrun/xfrun-dbus.c:353
 msgid "System Error"
 msgstr "Gabim Sistemi"
 
-#: ../xfrun/xfrun-dbus.c:344 ../xfrun/xfrun-dbus.c:355
+#: ../xfrun/xfrun-dbus.c:344
+#: ../xfrun/xfrun-dbus.c:355
 #, fuzzy
 msgid "Unable to fork to background:"
 msgstr "I pazoti ta përthyejë drejt sfondit:"
@@ -173,8 +170,9 @@ msgstr "Xhiro program"
 
 #: ../xfce.desktop.in.h:1
 msgid "Use this session to run Xfce as your desktop environment"
-msgstr ""
+msgstr "Përdoreni këtë sesion për të xhiruar Xfce-në su mjedisin tuaj 
dekstop"
 
 #: ../xfce.desktop.in.h:2
 msgid "Xfce Session"
-msgstr ""
+msgstr "Sesion Xfce"
+
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updates to Albanian (sq) translation

2009-09-25 Thread Transifex
Updating branch refs/heads/master
 to c1dcac2ca4fa0d8ab33a69c7ec2adad891c89ea1 (commit)
   from cfd7f6e8372bb81897b241b89efc391a08c86fd5 (commit)

commit c1dcac2ca4fa0d8ab33a69c7ec2adad891c89ea1
Author: Besnik Bleta 
Date:   Fri Sep 25 22:31:06 2009 +

l10n: Updates to Albanian (sq) translation

Transmitted-via: Transifex (translations.xfce.org)

 po/sq.po |   26 +-
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/po/sq.po b/po/sq.po
index 8e774b5..b4ceed6 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -7,7 +7,7 @@ msgstr ""
 "Project-Id-Version: xfce4-session 4.4.0\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-07-26 19:15-0700\n"
-"PO-Revision-Date: 2009-09-25 17:09+0200\n"
+"PO-Revision-Date: 2009-09-26 01:39+0200\n"
 "Last-Translator: Besnik Bleta \n"
 "Language-Team: Albanian \n"
 "MIME-Version: 1.0\n"
@@ -30,7 +30,7 @@ msgstr "I pazoti të instalojë temë sigle prej kartelës 
\"%s\" ."
 
 #: ../engines/balou/config.c:339
 msgid "Theme File Error"
-msgstr ""
+msgstr "Gabim Kartele Teme"
 
 #: ../engines/balou/config.c:342
 msgid "Please check that the file is a valid splash theme archive."
@@ -135,7 +135,7 @@ msgstr "Sesion"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:57
 msgid "Loc_k screen"
-msgstr ""
+msgstr "_Kyçe ekranin"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:58
 #: ../panel-plugin/xfsm-logout-plugin.c:98
@@ -150,7 +150,7 @@ msgstr "_Dimëroje"
 #: ../panel-plugin/xfsm-logout-plugin.c:60
 #: ../panel-plugin/xfsm-logout-plugin.c:91
 msgid "_Reboot"
-msgstr ""
+msgstr "_Rinise"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:61
 #: ../panel-plugin/xfsm-logout-plugin.c:84
@@ -171,11 +171,11 @@ msgstr "Jeni të sigurt se doni të dilni?"
 #: ../panel-plugin/xfsm-logout-plugin.c:76
 #, c-format
 msgid "You will be logged out in %u seconds."
-msgstr ""
+msgstr "Do të dilni për %u sekonda."
 
 #: ../panel-plugin/xfsm-logout-plugin.c:79
 msgid "Failed to log out."
-msgstr ""
+msgstr "Dështoi dalja."
 
 #. XFSM_SHUTDOWN_HALT
 #: ../panel-plugin/xfsm-logout-plugin.c:82
@@ -185,7 +185,7 @@ msgstr "Jeni të sigurt se doni ta fikni?"
 #: ../panel-plugin/xfsm-logout-plugin.c:83
 #, c-format
 msgid "Your system will shut down in %u seconds."
-msgstr ""
+msgstr "Sistemi juaj do të fiket për %u sekonda."
 
 #: ../panel-plugin/xfsm-logout-plugin.c:86
 msgid "Failed to shut down."
@@ -199,7 +199,7 @@ msgstr "Jeni të sigurt se doni ta rinisni?"
 #: ../panel-plugin/xfsm-logout-plugin.c:90
 #, c-format
 msgid "Your system will reboot in %u seconds."
-msgstr ""
+msgstr "Sistemi juaj do të riniset për %u sekonda."
 
 #: ../panel-plugin/xfsm-logout-plugin.c:93
 msgid "Failed to reboot."
@@ -411,7 +411,7 @@ msgstr "Përgjegjës Sesionesh Xfce"
 #: ../xfce4-session/shutdown.c:364
 #, c-format
 msgid "Log out %s"
-msgstr ""
+msgstr "Dilni %s"
 
 #: ../xfce4-session/shutdown.c:405
 msgid "Log Out"
@@ -589,12 +589,12 @@ msgstr "Lloj i pavlefshëm fikjeje"
 #: ../xfce4-session/xfsm-shutdown-helper.c:384
 #, c-format
 msgid "No HAL method for command %d"
-msgstr ""
+msgstr "Pa metodë HAL për urdhrin %d"
 
 #: ../xfce4-session/xfsm-shutdown-helper.c:528
 #, c-format
 msgid "Program \"sudo\" was not found.  You will not be able to shutdown your 
system from within Xfce."
-msgstr ""
+msgstr "Nuk u gjet programi \"sudo\".  Nuk do të jeni në gjendje ta fikni 
sistemin tuja që nga brenda Xfce-së."
 
 #: ../xfce4-session/xfsm-shutdown-helper.c:540
 #, c-format
@@ -625,12 +625,12 @@ msgstr "Gabim i panjohur"
 #: ../xfce4-session/xfsm-shutdown-helper.c:616
 #, c-format
 msgid "Unable to open parent pipe: %s"
-msgstr ""
+msgstr "S'hap dot pipë mëmë: %s"
 
 #: ../xfce4-session/xfsm-shutdown-helper.c:627
 #, c-format
 msgid "Unable to open child pipe: %s"
-msgstr ""
+msgstr "S'hap dot pipë pjellë: %s"
 
 #: ../xfce4-session/xfsm-shutdown-helper.c:645
 #, c-format
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updates to Albanian (sq) translation

2009-09-25 Thread Transifex
Updating branch refs/heads/master
 to 249ad2e866fa01269acccdadf6054a236da751c0 (commit)
   from 274af6e8051d5efb1af02b0495aee09547c280e6 (commit)

commit 249ad2e866fa01269acccdadf6054a236da751c0
Author: Besnik Bleta 
Date:   Fri Sep 25 22:23:08 2009 +

l10n: Updates to Albanian (sq) translation

Transmitted-via: Transifex (translations.xfce.org)

 po/sq.po |  261 +-
 1 files changed, 104 insertions(+), 157 deletions(-)

diff --git a/po/sq.po b/po/sq.po
index 6d8e30e..60c6bc4 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -7,7 +7,7 @@ msgstr ""
 "Project-Id-Version: xfce4-panel 4.4.0\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-01-25 23:16+0100\n"
-"PO-Revision-Date: 2008-11-11 00:36+0200\n"
+"PO-Revision-Date: 2009-09-26 01:32+0200\n"
 "Last-Translator: Besnik Bleta \n"
 "Language-Team: Albanian \n"
 "MIME-Version: 1.0\n"
@@ -27,8 +27,7 @@ msgid "Remove \"%s\"?"
 msgstr "Ta heq \"%s\"?"
 
 #: ../libxfce4panel/xfce-panel-plugin-iface.c:620
-msgid ""
-"The item will be removed from the panel and its configuration will be lost."
+msgid "The item will be removed from the panel and its configuration will be 
lost."
 msgstr "Objekti do të hiqet prej panelit dhe formësimi i tij do të humbë."
 
 #. TRANSLATORS: Properties menu item in the right-click plugin menu
@@ -52,19 +51,21 @@ msgid "Remove"
 msgstr "Hiq"
 
 #. TRANSLATORS: Add menu item in the right-click plugin menu
-#: ../libxfce4panel/xfce-panel-plugin-iface.c:903 ../panel/panel.c:606
-#, fuzzy
+#: ../libxfce4panel/xfce-panel-plugin-iface.c:903
+#: ../panel/panel.c:606
 msgid "Add New Items..."
-msgstr "Shto Element të Ri"
+msgstr "Shto Elemente të Rinj..."
 
 #. TRANSLATORS: Customize menu item in the right-click plugin menu
-#: ../libxfce4panel/xfce-panel-plugin-iface.c:915 ../panel/panel.c:595
-#, fuzzy
+#: ../libxfce4panel/xfce-panel-plugin-iface.c:915
+#: ../panel/panel.c:595
 msgid "Customize Panel..."
-msgstr "Përshtasni Panel"
+msgstr "Përshtasni Panel..."
 
-#: ../panel/panel.c:621 ../plugins/actions/actions.c:284
-#: ../plugins/actions/actions.c:318 ../plugins/actions/actions.c:455
+#: ../panel/panel.c:621
+#: ../plugins/actions/actions.c:284
+#: ../plugins/actions/actions.c:318
+#: ../plugins/actions/actions.c:455
 msgid "Quit"
 msgstr "Lër"
 
@@ -76,11 +77,14 @@ msgstr "Rinis"
 msgid "About the Xfce Panel"
 msgstr "Rreth Panelit Xfce"
 
-#: ../panel/panel-app.c:259 ../panel/panel-app.c:902
+#: ../panel/panel-app.c:259
+#: ../panel/panel-app.c:902
 msgid "Exit Xfce Panel?"
 msgstr "Të dal nga Paneli Xfce?"
 
-#: ../panel/panel-app.c:900 ../panel/panel-app.c:932 ../panel/panel-app.c:965
+#: ../panel/panel-app.c:900
+#: ../panel/panel-app.c:932
+#: ../panel/panel-app.c:965
 msgid "Xfce Panel"
 msgstr "Panel Xfce"
 
@@ -98,42 +102,38 @@ msgid "The selected panel and all its items will be 
removed."
 msgstr "Paneli i përzgjedhur dhe tërë elementet e tij do të hiqen."
 
 #. TRANSLATORS: Used in the credits tab in the panel's about dialog
-#: ../panel/panel-app.c:972 ../panel/panel-app.c:973
+#: ../panel/panel-app.c:972
+#: ../panel/panel-app.c:973
 msgid "Developer"
 msgstr "Zhvillues"
 
 #: ../panel/main.c:60
 msgid "Print version information and exit"
-msgstr ""
+msgstr "Shtyp të dhëna versioni dhe dil"
 
 #: ../panel/main.c:61
-#, fuzzy
 msgid "Show 'Customize Panel' dialog"
-msgstr "Përshtasni Panel"
+msgstr "Shfaq dialogun 'Përshtasni Panel'"
 
 #: ../panel/main.c:62
-#, fuzzy
 msgid "Save the panel configuration"
-msgstr "Ruaje formësimin"
+msgstr "Ruaje formësimin e panelit"
 
 #: ../panel/main.c:63
-#, fuzzy
 msgid "Restart the running instance of xfce4-panel"
-msgstr "Po riniset xfce4-panel..."
+msgstr "Rinise instancën xhiruese të xfce4-panel-it"
 
 #: ../panel/main.c:64
-#, fuzzy
 msgid "Log out the active session"
-msgstr "Dil ose kyç ekranin"
+msgstr "Dil nga sesioni aktiv"
 
 #: ../panel/main.c:65
 msgid "Close all panels and end the program"
 msgstr "Mbyll tërë panelet dhe përfundoje programin"
 
 #: ../panel/main.c:66
-#, fuzzy
 msgid "Show 'Add New Items' dialog"
-msgstr "Shto Element të Ri"
+msgstr "Shfaq dialogun 'Shto Elementë të Rinj'"
 
 #. TRANSLATORS: Errors when gtk_init failed, probably the command
 #. executed without xserver running
@@ -152,9 +152,8 @@ msgid "Please report bugs to <%s>."
 msgstr "Ju lutem njoftoni të meta te <%s>."
 
 #: ../panel/main.c:151
-#, fuzzy
 msgid "Xfce4-panel already running"
-msgstr "xfce4-panel është në xhirim e sipër"
+msgstr "Xfce4-panel është në xhirim e sipër"
 
 #: ../panel/main.c:162
 msgid "Restarting xfce4-panel..."
@@ -167,62 +166,68 @@ msgid "Could not open \"%s\" module"
 msgstr "Nuk hap dot modul \"%s\""
 
 #: ../panel/panel-dialogs.c:611
-#, fuzzy
 msgid "Add New Items"
-msgstr "Shto Element të Ri"
+msgstr "Shto Elemente të Rinj"
 
 #. TRANSLATORS: Make sure this string is equally spread in the add items 
dialog,
 #. since gtk labels do not update t

[Xfce4-commits] Add Korean translation

2009-09-25 Thread Christian Dywan
Updating branch refs/heads/master
 to 59238c269eb5d3b46b285dcecb23bb3e47251a89 (commit)
   from 19b7271ed1e54c95086186c8192ba0db44e0099c (commit)

commit 59238c269eb5d3b46b285dcecb23bb3e47251a89
Author: Seo Sanghyeon 
Date:   Fri Sep 25 23:09:34 2009 +0200

Add Korean translation

 po/LINGUAS   |2 +-
 po/{midori.pot => ko.po} |  112 --
 2 files changed, 60 insertions(+), 54 deletions(-)

diff --git a/po/LINGUAS b/po/LINGUAS
index 4d77fd2..eb72920 100644
--- a/po/LINGUAS
+++ b/po/LINGUAS
@@ -1,2 +1,2 @@
 # set of available languages (in alphabetic order)
-ast ca cs da de el en_GB es et fi fr gl he hu id it ja nl pl pt pt_BR ro ru sk 
sr s...@latin sv tr uk zh_CN zh_TW
+ast ca cs da de el en_GB es et fi fr gl he hu id it ja ko nl pl pt pt_BR ro ru 
sk sr s...@latin sv tr uk zh_CN zh_TW
diff --git a/po/midori.pot b/po/ko.po
similarity index 96%
copy from po/midori.pot
copy to po/ko.po
index 2b0b736..2a079db 100644
--- a/po/midori.pot
+++ b/po/ko.po
@@ -1,19 +1,19 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR , YEAR.
+# Korean translations for midori package.
+# Copyright (C) 2009 THE midori'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the midori package.
+# Seo Sanghyeon  2009
 #
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: midori 0.1.10\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-09-06 00:44+0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME \n"
-"Language-Team: LANGUAGE \n"
+"PO-Revision-Date: 2009-24-09 09:10+0200\n"
+"Last-Translator: Seo Sanghyeon \n"
+"Language-Team: Korean \n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
 
@@ -352,7 +352,7 @@ msgstr ""
 #: ../midori/midori-browser.c:3870 ../midori/midori-preferences.c:665
 #: ../panels/midori-history.c:108
 msgid "History"
-msgstr ""
+msgstr "방문 기록"
 
 #: ../midori/midori-browser.c:3875
 msgid "Cookies"
@@ -368,7 +368,7 @@ msgstr ""
 
 #: ../midori/midori-browser.c:3890 ../midori/sokoke.c:873
 msgid "_Closed Tabs"
-msgstr ""
+msgstr "최근에 닫은 탭(_C)"
 
 #: ../midori/midori-browser.c:3898
 msgid "Clear private data when _quitting Midori"
@@ -380,15 +380,15 @@ msgstr ""
 
 #: ../midori/midori-browser.c:3995
 msgid "translator-credits"
-msgstr ""
+msgstr "Seo Sanghyeon "
 
 #: ../midori/midori-browser.c:4261
 msgid "_File"
-msgstr ""
+msgstr "파일(_F)"
 
 #: ../midori/midori-browser.c:4263 ../midori/sokoke.c:874
 msgid "New _Window"
-msgstr ""
+msgstr "새 창(_W)"
 
 #: ../midori/midori-browser.c:4264
 msgid "Open a new window"
@@ -416,7 +416,7 @@ msgstr ""
 
 #: ../midori/midori-browser.c:4278
 msgid "_Close Tab"
-msgstr ""
+msgstr "탭 닫기(_C)"
 
 #: ../midori/midori-browser.c:4279
 msgid "Close the current tab"
@@ -424,7 +424,7 @@ msgstr ""
 
 #: ../midori/midori-browser.c:4281
 msgid "C_lose Window"
-msgstr ""
+msgstr "창 닫기(_L)"
 
 #: ../midori/midori-browser.c:4282
 msgid "Close this window"
@@ -440,7 +440,7 @@ msgstr ""
 
 #: ../midori/midori-browser.c:4290
 msgid "_Edit"
-msgstr ""
+msgstr "편집(_E)"
 
 #: ../midori/midori-browser.c:4293
 msgid "Cut the selected text"
@@ -468,7 +468,7 @@ msgstr ""
 
 #: ../midori/midori-browser.c:4313
 msgid "Find _Next"
-msgstr ""
+msgstr "다시 찾기(_N)"
 
 #: ../midori/midori-browser.c:4314
 msgid "Find the next occurrence of a word or phrase"
@@ -488,7 +488,7 @@ msgstr ""
 
 #: ../midori/midori-browser.c:4323
 msgid "_View"
-msgstr ""
+msgstr "보기(_V)"
 
 #: ../midori/midori-browser.c:4324
 msgid "_Toolbars"
@@ -508,11 +508,11 @@ msgstr ""
 
 #: ../midori/midori-browser.c:4343
 msgid "_Encoding"
-msgstr ""
+msgstr "문자 인코딩(_E)"
 
 #: ../midori/midori-browser.c:4345
 msgid "View So_urce"
-msgstr ""
+msgstr "소스 보기(_U)"
 
 #: ../midori/midori-browser.c:4346
 msgid "View the source code of the page"
@@ -532,7 +532,7 @@ msgstr ""
 
 #: ../midori/midori-browser.c:4355
 msgid "_Go"
-msgstr ""
+msgstr "이동(_G)"
 
 #: ../midori/midori-browser.c:4358
 msgid "Go back to the previous page"
@@ -608,11 +608,11 @@ msgstr ""
 
 #: ../midori/midori-browser.c:4394
 msgid "_Help"
-msgstr ""
+msgstr "도움말(_H)"
 
 #: ../midori/midori-browser.c:4396
 msgid "_Contents"
-msgstr ""
+msgstr "도움말 목차(_C)"
 
 #: ../midori/midori-browser.c:4397
 msgid "Show the documentation"
@@ -696,7 +696,7 @@ msgstr ""
 
 #: ../midori/midori-browser.c:4447
 msgid "_Automatic"
-msgstr ""
+msgstr "자동 선택(_A)"
 
 #: ../midori/midori-browser.c:4450 ../midori/midori-websettings.c:214
 msgid "Chinese (BIG5)"
@@ -758,7 +758,7 @@ msgstr ""
 
 #: ../midori/midori-browser.c:4995 ../midori/sokoke.c:862
 msgid

[Xfce4-commits] Disconnect request-queued properly to avoid lots of dialog callbacks

2009-09-25 Thread Christian Dywan
Updating branch refs/heads/master
 to 19b7271ed1e54c95086186c8192ba0db44e0099c (commit)
   from a8a0ff625e1abe325f8369980704a4eb1d88f393 (commit)

commit 19b7271ed1e54c95086186c8192ba0db44e0099c
Author: Christian Dywan 
Date:   Fri Sep 25 22:51:18 2009 +0200

Disconnect request-queued properly to avoid lots of dialog callbacks

The wrong user data argument passed when disconnecting request-queued
would lead to the callback not being disconnected, which led to a
number of dialogs relative to the number of opened websites being spawned.

 katze/katze-http-auth.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/katze/katze-http-auth.c b/katze/katze-http-auth.c
index cb2beb4..38c6ce5 100644
--- a/katze/katze-http-auth.c
+++ b/katze/katze-http-auth.c
@@ -295,7 +295,7 @@ katze_http_auth_session_request_queued_cb (SoupSession*   
session,
 g_signal_connect (session, "authenticate",
 G_CALLBACK (katze_http_auth_session_authenticate_cb), http_auth);
 g_signal_handlers_disconnect_by_func (session,
-katze_http_auth_session_request_queued_cb, NULL);
+katze_http_auth_session_request_queued_cb, http_auth);
 }
 
 static void
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Use a symbols regex in the plugins too.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to b2574d81573f3019be708ae927f880f19ebdb07d (commit)
   from f41183ecd28290cf15c7f80343b391bce18bae65 (commit)

commit b2574d81573f3019be708ae927f880f19ebdb07d
Author: Nick Schermer 
Date:   Fri Sep 25 21:55:42 2009 +0200

Use a symbols regex in the plugins too.

 plugins/actions/Makefile.am   |1 +
 plugins/clock/Makefile.am |1 +
 plugins/launcher/Makefile.am  |1 +
 plugins/pager/Makefile.am |1 +
 plugins/separator/Makefile.am |1 +
 plugins/showdesktop/Makefile.am   |1 +
 plugins/showdesktop/showdesktop.c |2 +-
 plugins/systray/Makefile.am   |1 +
 plugins/tasklist/Makefile.am  |1 +
 plugins/windowmenu/Makefile.am|1 +
 10 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/plugins/actions/Makefile.am b/plugins/actions/Makefile.am
index f4097ff..d1c7306 100644
--- a/plugins/actions/Makefile.am
+++ b/plugins/actions/Makefile.am
@@ -31,6 +31,7 @@ libactions_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
 
 libactions_la_LIBADD = \
diff --git a/plugins/clock/Makefile.am b/plugins/clock/Makefile.am
index d974e13..7d74427 100644
--- a/plugins/clock/Makefile.am
+++ b/plugins/clock/Makefile.am
@@ -41,6 +41,7 @@ libclock_la_LDFLAGS =  \
-avoid-version \
-module \
-no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
 
 libclock_la_LIBADD = \
diff --git a/plugins/launcher/Makefile.am b/plugins/launcher/Makefile.am
index 31e547f..13e6593 100644
--- a/plugins/launcher/Makefile.am
+++ b/plugins/launcher/Makefile.am
@@ -39,6 +39,7 @@ liblauncher_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
 
 liblauncher_la_LIBADD = \
diff --git a/plugins/pager/Makefile.am b/plugins/pager/Makefile.am
index e2001ee..122b1ad 100644
--- a/plugins/pager/Makefile.am
+++ b/plugins/pager/Makefile.am
@@ -33,6 +33,7 @@ libpager_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
 
 libpager_la_LIBADD = \
diff --git a/plugins/separator/Makefile.am b/plugins/separator/Makefile.am
index 9aa3c02..171deb2 100644
--- a/plugins/separator/Makefile.am
+++ b/plugins/separator/Makefile.am
@@ -32,6 +32,7 @@ libseparator_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
 
 libseparator_la_LIBADD = \
diff --git a/plugins/showdesktop/Makefile.am b/plugins/showdesktop/Makefile.am
index ff027fc..b387ad4 100644
--- a/plugins/showdesktop/Makefile.am
+++ b/plugins/showdesktop/Makefile.am
@@ -27,6 +27,7 @@ libshowdesktop_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
 
 libshowdesktop_la_LIBADD = \
diff --git a/plugins/showdesktop/showdesktop.c 
b/plugins/showdesktop/showdesktop.c
index 0f3180e..92ae60b 100644
--- a/plugins/showdesktop/showdesktop.c
+++ b/plugins/showdesktop/showdesktop.c
@@ -88,7 +88,7 @@ show_desktop_plugin_init (ShowDesktopPlugin *plugin)
   G_CALLBACK (show_desktop_plugin_screen_changed), NULL);
 
   /* create the toggle button */
-  button = plugin->button = xfce_create_panel_toggle_button ();
+  button = plugin->button = xfce_panel_create_toggle_button ();
   gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
   gtk_container_add (GTK_CONTAINER (plugin), button);
   g_signal_connect (G_OBJECT (button), "toggled",
diff --git a/plugins/systray/Makefile.am b/plugins/systray/Makefile.am
index 067e210..9f409f3 100644
--- a/plugins/systray/Makefile.am
+++ b/plugins/systray/Makefile.am
@@ -40,6 +40,7 @@ libsystray_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
 
 libsystray_la_LIBADD = \
diff --git a/plugins/tasklist/Makefile.am b/plugins/tasklist/Makefile.am
index 980f0d7..2db5a69 100644
--- a/plugins/tasklist/Makefile.am
+++ b/plugins/tasklist/Makefile.am
@@ -34,6 +34,7 @@ libtasklist_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+   -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
 
 libtasklist_la_LIBADD = \
diff --git a/plugins/windowmenu/Makefile.am b/plugins/windowmenu/Makefile.am
index 90bdffa..387d994 100644
--- a/plugins/windowmenu/Makefile.am
+++ b/plugins/windowmenu/Makefile.am
@@ -33,6

[Xfce4-commits] Also rename the renamed function here.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to f41183ecd28290cf15c7f80343b391bce18bae65 (commit)
   from 2e3963ea2325fe6e1c1f92ce6a65f243c5f7703a (commit)

commit f41183ecd28290cf15c7f80343b391bce18bae65
Author: Nick Schermer 
Date:   Fri Sep 25 21:54:51 2009 +0200

Also rename the renamed function here.

 panel/panel-module.c |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel/panel-module.c b/panel/panel-module.c
index 3dc2acf..6b02b3c 100644
--- a/panel/panel-module.c
+++ b/panel/panel-module.c
@@ -181,7 +181,7 @@ panel_module_load (GTypeModule *type_module)
 }
 
 /* check if there is a preinit function */
-  if (g_module_symbol (module->library, "__xpp_preinit", &foo))
+  if (g_module_symbol (module->library, "xfce_panel_module_preinit", &foo))
 {
   /* show warning */
   g_warning ("The plugin \"%s\" is marked as internal in the desktop file, 
"
@@ -199,7 +199,7 @@ panel_module_load (GTypeModule *type_module)
 }
 
   /* try to link the contruct function */
-  if (g_module_symbol (module->library, "__xpp_init", (gpointer) &init_func))
+  if (g_module_symbol (module->library, "xfce_panel_module_init", (gpointer) 
&init_func))
 {
   /* initialize the plugin */
   module->type = init_func (type_module, &make_resident);
@@ -208,7 +208,7 @@ panel_module_load (GTypeModule *type_module)
   if (make_resident)
 g_module_make_resident (module->library);
 }
-  else if (!g_module_symbol (module->library, "__xpp_construct",
+  else if (!g_module_symbol (module->library, "xfce_panel_module_construct",
  (gpointer) &module->construct_func))
 {
   /* print critical warning */
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Drop the visibility stuff and use a symbols regex for private functions.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to 726623393567929d13d7539425ecc9d750558e01 (commit)
   from 8a230770671f7db9c1e43528c302001dad902f7e (commit)

commit 726623393567929d13d7539425ecc9d750558e01
Author: Nick Schermer 
Date:   Fri Sep 25 21:53:30 2009 +0200

Drop the visibility stuff and use a symbols regex for private functions.

 libxfce4panel/Makefile.am  |1 +
 libxfce4panel/libxfce4panel.h  |   53 +--
 libxfce4panel/xfce-arrow-button.c  |   10 +++---
 libxfce4panel/xfce-arrow-button.h  |1 -
 libxfce4panel/xfce-hvbox.c |6 ++--
 libxfce4panel/xfce-hvbox.h |1 -
 libxfce4panel/xfce-panel-convenience.c |6 ++--
 libxfce4panel/xfce-panel-image.c   |   10 +++---
 libxfce4panel/xfce-panel-image.h   |1 -
 libxfce4panel/xfce-panel-macros.h  |7 
 libxfce4panel/xfce-panel-plugin-provider.c |   22 ++--
 libxfce4panel/xfce-panel-plugin-provider.h |1 -
 libxfce4panel/xfce-panel-plugin.c  |   52 +-
 libxfce4panel/xfce-panel-plugin.h  |1 -
 14 files changed, 80 insertions(+), 92 deletions(-)

diff --git a/libxfce4panel/Makefile.am b/libxfce4panel/Makefile.am
index ff46839..c03c1a9 100644
--- a/libxfce4panel/Makefile.am
+++ b/libxfce4panel/Makefile.am
@@ -50,6 +50,7 @@ libxfce4panel_la_LDFLAGS = \
-no-undefined \
-export-dynamic \
-version-info $(LIBXFCE4PANEL_VERINFO) \
+   -export-symbols-regex '^[^_].*' \
$(PLATFORM_LDFLAGS)
 
 libxfce4panel_la_LIBADD = \
diff --git a/libxfce4panel/libxfce4panel.h b/libxfce4panel/libxfce4panel.h
index b16d10a..057d764 100644
--- a/libxfce4panel/libxfce4panel.h
+++ b/libxfce4panel/libxfce4panel.h
@@ -86,13 +86,13 @@ G_BEGIN_DECLS
   }
 
 #define _XPP_DEFINE_PLUGIN(TypeName, type_name, resident, args...) \
-  GType __xpp_init (GTypeModule *type_module, gboolean *make_resident); \
+  GType xfce_panel_module_init (GTypeModule *type_module, gboolean 
*make_resident); \
   \
   XFCE_PANEL_DEFINE_TYPE (TypeName, type_name, XFCE_TYPE_PANEL_PLUGIN) \
   \
-  PANEL_SYMBOL_EXPORT G_MODULE_EXPORT GType \
-  __xpp_init (GTypeModule *type_module, \
-  gboolean*make_resident) \
+  G_MODULE_EXPORT GType \
+  xfce_panel_module_init (GTypeModule *type_module, \
+  gboolean*make_resident) \
   { \
 typedef void (*XppRegFunc) (GTypeModule *module); \
 XppRegFunc reg_funcs[] = { type_name##_register_type, args }; \
@@ -151,12 +151,11 @@ typedef gboolean (*XfcePanelPluginCheck) (GdkScreen 
*screen);
  **/
 #define XFCE_PANEL_PLUGIN_REGISTER_FULL(construct_func, preinit_func, 
check_func) \
   XFCE_PANEL_PLUGIN_REGISTER_EXTENDED (construct_func, \
-PANEL_SYMBOL_EXPORT G_MODULE_EXPORT gboolean \
-__xpp_preinit (gintargc, \
-   gchar **argv); \
-PANEL_SYMBOL_EXPORT G_MODULE_EXPORT gboolean \
-__xpp_preinit (gintargc, \
-   gchar **argv) \
+G_MODULE_EXPORT gboolean xfce_panel_module_preinit (gint argc, gchar 
**argv); \
+\
+G_MODULE_EXPORT gboolean \
+xfce_panel_module_preinit (gintargc, \
+   gchar **argv) \
 { \
   return (*preinit_func) (argc, argv); \
 }, \
@@ -166,32 +165,32 @@ typedef gboolean (*XfcePanelPluginCheck) (GdkScreen 
*screen);
 /*  */
 #define XFCE_PANEL_PLUGIN_REGISTER_EXTENDED(construct_func, PREINIT_CODE, 
CHECK_CODE) \
   static void \
-  __xpp_realize (XfcePanelPlugin *xpp) \
+  xfce_panel_module_realize (XfcePanelPlugin *xpp) \
   { \
 panel_return_if_fail (XFCE_IS_PANEL_PLUGIN (xpp)); \
 \
 g_signal_handlers_disconnect_by_func (G_OBJECT (xpp), \
-G_CALLBACK (__xpp_realize), NULL); \
+G_CALLBACK (xfce_panel_module_realize), NULL); \
 \
 (*construct_func) (xpp); \
   } \
   \
   PREINIT_CODE \
   \
-  PANEL_SYMBOL_EXPORT G_MODULE_EXPORT XfcePanelPlugin * \
-  __xpp_construct (const gchar  *xpp_name, \
-   gint  xpp_unique_id, \
-   const gchar  *xpp_display_name, \
-   const gchar  *xpp_comment, \
-   gchar   **xpp_arguments, \
-   GdkScreen*xpp_screen); \
-  PANEL_SYMBOL_EXPORT G_MODULE_EXPORT XfcePanelPlugin * \
-  __xpp_construct (const gchar  *xpp_name, \
-   gint  xpp_unique_id, \
-   const gchar  *xpp_display_name, \
-   const gchar  *xpp_comment, \
-   gchar   **xpp_arguments, \
-   GdkScreen*xpp_screen) \
+  G_MODULE_EXPORT XfcePanelPlugin * \
+  xfce_panel_module_construct (const gchar  *xpp_name, \
+   gint  xpp_unique_id, \
+   const gchar  *xpp_display_name, \
+   const gchar  *xpp_comment, \
+   gchar   

[Xfce4-commits] Use the new developer tools macros.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to 2e3963ea2325fe6e1c1f92ce6a65f243c5f7703a (commit)
   from 726623393567929d13d7539425ecc9d750558e01 (commit)

commit 2e3963ea2325fe6e1c1f92ce6a65f243c5f7703a
Author: Nick Schermer 
Date:   Fri Sep 25 21:54:18 2009 +0200

Use the new developer tools macros.

 autogen.sh  |   36 +-
 configure.in.in |   89 ---
 2 files changed, 8 insertions(+), 117 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index a0957c2..9b317af 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,8 +1,6 @@
 #!/bin/sh
 #
-# $Id: autogen.sh 25025 2007-02-24 09:54:07Z jasper $
-#
-# Copyright (c) 2002-2005
+# Copyright (c) 2002-2009
 # The Xfce development team. All rights reserved.
 #
 # Written for Xfce by Benedikt Meurer .
@@ -18,34 +16,4 @@ EOF
   exit 1
 }
 
-# verify that po/LINGUAS is present
-(test -f po/LINGUAS) >/dev/null 2>&1 || {
-  cat >&2 < "configure.in"
-
-xdt-autogen $@
-
-# xdt-autogen clean does not remove all generated files
-(test x"clean" = x"$1") && {
-  rm -f configure.in
-  rm -f INSTALL
-} || true
-# vi:set ts=2 sw=2 et ai:
+XDT_AUTOGEN_REQUIRED_VERSION="4.7.2" exec xdt-autogen $@
diff --git a/configure.in.in b/configure.in.in
index 3eaf7a0..d80cfbf 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -126,89 +126,12 @@ dnl #PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS 
-DPANGO_DISABLE_DEPRECATED -DPANGO_DI
 dnl ***
 dnl *** Check for debugging support ***
 dnl ***
-AC_ARG_ENABLE([debug],
-AC_HELP_STRING([--enable-debug=@<:@no/minimum/yes/full@:>@], [Turn on 
debugging @<:@default=panel_debug_default@:>@]),
-  [], [enable_debug=panel_debug_default])
-AC_MSG_CHECKING([whether to enable debugging support])
-if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
-  dnl Print the result
-  AC_MSG_RESULT([$enable_debug])
-
-  dnl Make sure we detect possible errors (if supported)
-  save_CFLAGS="$CFLAGS"
-  CFLAGS="$CFLAGS -Wall -Werror"
-  AC_MSG_CHECKING([whether $CC accepts -Wall -Werror])
-  AC_COMPILE_IFELSE(AC_LANG_SOURCE([int x;]), [
-AC_MSG_RESULT([yes])
-PLATFORM_CFLAGS="$PLATFORM_CFLAGS -Wall -Werror"
-  ], [
-AC_MSG_RESULT([no])
-  ])
-  CFLAGS="$save_CFLAGS"
-
-  dnl Paranoia for --enable-debug=full
-  if test x"$enable_debug" = x"full"; then
-dnl Enable extensive debugging
-PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DG_ENABLE_DEBUG"
-
-dnl Use -O0 -g3 if the compiler supports it
-save_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -O0 -g3"
-AC_MSG_CHECKING([whether $CC accepts -O0 -g3])
-AC_COMPILE_IFELSE(AC_LANG_SOURCE([int x;]), [
-  AC_MSG_RESULT([yes])
-  PLATFORM_CFLAGS="$PLATFORM_CFLAGS -O0 -g3"
-], [
-  AC_MSG_RESULT([no])
-])
-CFLAGS="$save_CFLAGS"
-  fi
-else
-  dnl Print the result
-  AC_MSG_RESULT([$enable_debug])
-
-  dnl Disable debugging (release build)
-  PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DNDEBUG"
-
-  dnl Disable object cast checks
-  PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DG_DISABLE_CAST_CHECKS"
-
-  dnl Disable all checks for --enable-debug=no
-  if test x"$enable_debug" = x"no"; then
-PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DG_DISABLE_ASSERT 
-DG_DISABLE_CHECKS"
-  fi
-fi
-
-dnl 
-dnl *** Check for ELF visibility support ***
-dnl 
-AC_ARG_ENABLE([visibility], AC_HELP_STRING([--disable-visibility], [Do not use 
ELF visibility attributes]), [], [enable_visibility=yes])
-have_gnuc_visibility=no
-if test x"$enable_visibility" != x"no"; then
-  dnl Check whether the compiler supports the visibility attribute
-  save_CFLAGS="$CFLAGS"
-  CFLAGS="$CFLAGS -Wall -Werror"
-  AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
-  AC_COMPILE_IFELSE(AC_LANG_SOURCE(
-  [
-void __attribute__ ((visibility("default"))) test_default (void) {}
-void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
-int main (int argc, char **argv) { test_default (); test_hidden (); return 
0; }
-  ]),
-  [
-have_gnuc_visibility=yes
-AC_MSG_RESULT([yes])
-  ],
-  [
-AC_MSG_RESULT([no])
-  ])
-  CFLAGS="$save_CFLAGS"
-fi
-if test x"$have_gnuc_visibility" = x"yes"; then
-  PLATFORM_CPPFLAGS="$PLATFORM_CPPFLAGS -DHAVE_GNUC_VISIBILITY"
-  PLATFORM_CFLAGS="$PLATFORM_CFLAGS -fvisibility=hidden"
-fi
-AM_CONDITIONAL([HAVE_GNUC_VISIBILITY], [test x"$have_gnuc_visibility" = 
x"yes"])
+XDT_FEATURE_DEBUG([panel_debug_default])
+
+dnl **
+dnl *** Check for linker optimizations ***
+dnl **
+XDT_FEATURE_LINKER_OPTS()
 
 dnl *
 dnl *** Substitute platform flags ***
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Add gtk builder code of the plugins in a common file.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to ece338717176aab265d1c02af96719816a44b7dc (commit)
   from 778f7b9b87d923f511a74759e3e51ee4637bab4a (commit)

commit ece338717176aab265d1c02af96719816a44b7dc
Author: Nick Schermer 
Date:   Thu Sep 24 20:12:49 2009 +0200

Add gtk builder code of the plugins in a common file.

 common/Makefile.am |8 +-
 common/panel-builder.c |   80 +
 .../panel-builder.h|   27 +--
 plugins/actions/actions.c  |   72 -
 plugins/launcher/launcher-dialog.c |  168 +---
 plugins/pager/pager.c  |   71 +++-
 plugins/separator/separator.c  |   39 ++---
 plugins/systray/systray.c  |   60 +++-
 plugins/tasklist/tasklist.c|   67 +++-
 plugins/windowmenu/windowmenu.c|   45 ++
 10 files changed, 303 insertions(+), 334 deletions(-)

diff --git a/common/Makefile.am b/common/Makefile.am
index a4805de..3da0d91 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -10,18 +10,22 @@ noinst_LTLIBRARIES = \
libpanel-xfconf.la
 
 libpanel_xfconf_la_SOURCES = \
+   panel-builder.c \
+   panel-builder.h \
panel-xfconf.c \
panel-xfconf.h
 
 libpanel_xfconf_la_CFLAGS = \
-   $(XFCONF_CFLAGS)
+   $(XFCONF_CFLAGS) \
+   $(GTK_CFLAGS)
 
 libpanel_xfconf_la_LDFLAGS = \
-no-undefined \
$(PLATFORM_LDFLAGS)
 
 libpanel_xfconf_la_LIBADD = \
-   $(XFCONF_LIBS)
+   $(XFCONF_LIBS) \
+   $(GTK_LIBS)
 
 EXTRA_DIST = \
panel-dbus.h \
diff --git a/common/panel-builder.c b/common/panel-builder.c
new file mode 100644
index 000..44aeb44
--- /dev/null
+++ b/common/panel-builder.c
@@ -0,0 +1,80 @@
+/* $Id$ */
+/*
+ * Copyright (C) 2009 Nick Schermer 
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include 
+#endif
+
+#include 
+
+
+
+GtkBuilder *
+panel_builder_new (XfcePanelPlugin  *panel_plugin,
+   const gchar  *buffer,
+   gsize length,
+   GObject **dialog_return)
+{
+  GError *error = NULL;
+  GtkBuilder *builder;
+  GObject*dialog, *button;
+
+  panel_return_val_if_fail (XFCE_IS_PANEL_PLUGIN (panel_plugin), NULL);
+
+  builder = gtk_builder_new ();
+  if (gtk_builder_add_from_string (builder, buffer, length, &error))
+{
+  dialog = gtk_builder_get_object (builder, "dialog");
+  if (G_LIKELY (dialog != NULL))
+{
+  g_object_weak_ref (G_OBJECT (dialog),
+ (GWeakNotify) g_object_unref, builder);
+  xfce_panel_plugin_take_window (panel_plugin, GTK_WINDOW (dialog));
+
+  xfce_panel_plugin_block_menu (panel_plugin);
+  g_object_weak_ref (G_OBJECT (dialog),
+ (GWeakNotify) xfce_panel_plugin_unblock_menu,
+ panel_plugin);
+
+  button = gtk_builder_get_object (builder, "close-button");
+  if (G_LIKELY (button != NULL))
+g_signal_connect_swapped (G_OBJECT (button), "clicked",
+  G_CALLBACK (gtk_widget_destroy), dialog);
+
+  if (G_LIKELY (dialog_return != NULL))
+*dialog_return = dialog;
+
+  return builder;
+}
+  else
+{
+  g_set_error_literal (&error, 0, 0, "No widget with the name 
\"dialog\" found");
+}
+}
+
+  g_critical ("Faild to construct the builder for plugin %s-%d: %s.",
+  xfce_panel_plugin_get_name (panel_plugin),
+  xfce_panel_plugin_get_unique_id (panel_plugin),
+  error->message);
+  g_error_free (error);
+  g_object_unref (G_OBJECT (builder));
+
+  return NULL;
+}
+
diff --git a/libxfce4panel/xfce-panel-convenience.h b/common/panel-builder.h
similarity index 52%
copy from libxfce4panel/xfce-panel-convenience.h
copy to common/panel-builder.h
index 5c25f5b..a621019 100644
--- a/libxfce4panel/xfce-panel-convenience.h
+++ b/common/panel-builder.h
@@ -1,7 +1,6 @@
 /* $Id$ */
 /*
- * Copyright (C) 2006-2007 Jasper Huijsmans 
- * Copyright (C) 2008-20

[Xfce4-commits] Add New Line support to the separator plugin.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to 8a230770671f7db9c1e43528c302001dad902f7e (commit)
   from b9234db5f54c11d2ed75d272544f8050744eb603 (commit)

commit 8a230770671f7db9c1e43528c302001dad902f7e
Author: Nick Schermer 
Date:   Fri Sep 25 19:59:41 2009 +0200

Add New Line support to the separator plugin.

 plugins/separator/separator-dialog.ui |3 ++
 plugins/separator/separator.c |   40 +---
 2 files changed, 34 insertions(+), 9 deletions(-)

diff --git a/plugins/separator/separator-dialog.ui 
b/plugins/separator/separator-dialog.ui
index 10f888d..83edcd5 100644
--- a/plugins/separator/separator-dialog.ui
+++ b/plugins/separator/separator-dialog.ui
@@ -148,6 +148,9 @@
   
 Dots
   
+  
+New Line
+  
 
   
 
diff --git a/plugins/separator/separator.c b/plugins/separator/separator.c
index 6c893dc..8475906 100644
--- a/plugins/separator/separator.c
+++ b/plugins/separator/separator.c
@@ -24,6 +24,7 @@
 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -63,6 +64,7 @@ enum _SeparatorPluginStyle
   SEPARATOR_PLUGIN_STYLE_SEPARATOR,
   SEPARATOR_PLUGIN_STYLE_HANDLE,
   SEPARATOR_PLUGIN_STYLE_DOTS,
+  SEPARATOR_PLUGIN_STYLE_WRAP
 };
 
 struct _SeparatorPluginClass
@@ -119,7 +121,7 @@ separator_plugin_class_init (SeparatorPluginClass *klass)
g_param_spec_uint ("style",
   NULL, NULL,
   
SEPARATOR_PLUGIN_STYLE_TRANSPARENT,
-  
SEPARATOR_PLUGIN_STYLE_DOTS,
+  
SEPARATOR_PLUGIN_STYLE_WRAP,
   
SEPARATOR_PLUGIN_STYLE_SEPARATOR,
   EXO_PARAM_READWRITE));
 
@@ -149,6 +151,7 @@ separator_plugin_get_property (GObject*object,
GParamSpec *pspec)
 {
   SeparatorPlugin *plugin = XFCE_SEPARATOR_PLUGIN (object);
+  gboolean expand;
 
   switch (prop_id)
 {
@@ -157,8 +160,8 @@ separator_plugin_get_property (GObject*object,
 break;
 
   case PROP_EXPAND:
-g_value_set_boolean (value,
-xfce_panel_plugin_get_expand (XFCE_PANEL_PLUGIN (plugin)));
+expand = xfce_panel_plugin_get_expand (XFCE_PANEL_PLUGIN (plugin));
+g_value_set_boolean (value, expand);
 break;
 
   default:
@@ -176,12 +179,17 @@ separator_plugin_set_property (GObject  *object,
GParamSpec   *pspec)
 {
   SeparatorPlugin *plugin = XFCE_SEPARATOR_PLUGIN (object);
+  gboolean wrap;
 
   switch (prop_id)
 {
   case PROP_STYLE:
 plugin->style = g_value_get_uint (value);
 gtk_widget_queue_draw (GTK_WIDGET (object));
+
+wrap = plugin->style == SEPARATOR_PLUGIN_STYLE_WRAP;
+xfce_panel_plugin_provider_emit_signal (XFCE_PANEL_PLUGIN_PROVIDER 
(object),
+ wrap ? PROVIDER_SIGNAL_WRAP_PLUGIN : 
PROVIDER_SIGNAL_UNWRAP_PLUGIN);
 break;
 
   case PROP_EXPAND:
@@ -207,6 +215,7 @@ separator_plugin_expose_event (GtkWidget  *widget,
   switch (plugin->style)
 {
   case SEPARATOR_PLUGIN_STYLE_TRANSPARENT:
+  case SEPARATOR_PLUGIN_STYLE_WRAP:
 /* do nothing */
 break;
 
@@ -305,12 +314,23 @@ separator_plugin_size_changed (XfcePanelPlugin 
*panel_plugin,
 
 
 static void
+separator_plugin_configure_style_changed (GtkComboBox *combo_box,
+  GtkWidget   *expand)
+{
+  /* expand is not functional when the wrap function is enabled */
+  gtk_widget_set_sensitive (expand,
+  gtk_combo_box_get_active (combo_box) != SEPARATOR_PLUGIN_STYLE_WRAP);
+}
+
+
+
+static void
 separator_plugin_configure_plugin (XfcePanelPlugin *panel_plugin)
 {
   SeparatorPlugin *plugin = XFCE_SEPARATOR_PLUGIN (panel_plugin);
   GtkBuilder  *builder;
   GObject *dialog;
-  GObject *object;
+  GObject *style, *expand;
 
   panel_return_if_fail (XFCE_IS_SEPARATOR_PLUGIN (plugin));
 
@@ -320,13 +340,15 @@ separator_plugin_configure_plugin (XfcePanelPlugin 
*panel_plugin)
   if (G_UNLIKELY (builder == NULL))
 return;
 
-  object = gtk_builder_get_object (builder, "style");
-  exo_mutual_binding_new (G_OBJECT (plugin), "style",
-  G_OBJECT (object), "active");
+  style = gtk_builder_get_object (builder, "style");
+  expand = gtk_builder_get_object (builder, "expand");
+  g_signal_connect (G_OBJECT (style), "changed",
+  G_CALLBACK (separator_plugin_configure_style_changed), expand);
 
-  object = gtk_builder_get_object (builder, "expand");
+  exo_mutual_binding_new (G_OBJECT (plugin), "style",
+  G_OBJECT (style), "active");
   exo_mutual_binding_new (G_OBJECT (plugin), "expand",
-  G

[Xfce4-commits] Always abort on critical errors and warnings when debugging is enabled.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to f0ba6b248866fafe0cfe8e7271d63200f702e054 (commit)
   from ece338717176aab265d1c02af96719816a44b7dc (commit)

commit f0ba6b248866fafe0cfe8e7271d63200f702e054
Author: Nick Schermer 
Date:   Fri Sep 25 10:46:58 2009 +0200

Always abort on critical errors and warnings when debugging is enabled.

 panel/main.c |8 +++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/panel/main.c b/panel/main.c
index 59ea3cb..46cc5e2 100644
--- a/panel/main.c
+++ b/panel/main.c
@@ -139,8 +139,14 @@ main (gint argc, gchar **argv)
   /* set translation domain */
   xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
 
+#ifdef G_ENABLE_DEBUG
+  /* do NOT remove this line for now, If something doesn't work,
+   * fix your code instead! */
+  g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
+#endif
+
   /* initialize gtk+ */
-  if (!gtk_init_with_args (&argc, &argv, _("[ARGUMENTS...]"), option_entries, 
(gchar *) GETTEXT_PACKAGE, &error))
+  if (!gtk_init_with_args (&argc, &argv, _("[ARGUMENTS...]"), option_entries, 
GETTEXT_PACKAGE, &error))
 {
   if (G_LIKELY (error))
 {
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Implement fixed gtk-icon-sizes in the XfcePanelImage widget.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to 778f7b9b87d923f511a74759e3e51ee4637bab4a (commit)
   from ec6e5331f949718f3a5fc03f86d59f19904ce64d (commit)

commit 778f7b9b87d923f511a74759e3e51ee4637bab4a
Author: Nick Schermer 
Date:   Thu Sep 24 20:10:27 2009 +0200

Implement fixed gtk-icon-sizes in the XfcePanelImage widget.

This allows icon sizes to clamp to fixed icon sizes, which
will for example prevent fuzzy icons in the launcher on
some panel sizes.

 docs/README.gtkrc-2.0|   19 +++
 libxfce4panel/xfce-panel-image.c |   33 ++---
 2 files changed, 37 insertions(+), 15 deletions(-)

diff --git a/docs/README.gtkrc-2.0 b/docs/README.gtkrc-2.0
index 5bad4dd..ac1d482 100644
--- a/docs/README.gtkrc-2.0
+++ b/docs/README.gtkrc-2.0
@@ -3,7 +3,6 @@ The Xfce Panel .gtkrc-2.0 hacks
 
 XfceTasklist
 ---
-
 style "xfce-tasklist-style"
 {
   # The maximum length of a button before the label ellipsizes. 
@@ -25,10 +24,22 @@ class "XfceTasklist" style "xfce-tasklist-style"
 
 XfceLauncherPlugin
 --
-
-style "xfce-launcher-style"
+style "xfce-launcher-plugin-style"
 {
   # Size of the icons of the menu, in pixels.
   XfceLauncherPlugin::menu-icon-size = 36
 }
-class "XfceLauncherPlugin" style "xfce-launcher-style"
+class "XfceLauncherPlugin" style "xfce-launcher-plugin-style"
+
+
+
+XfcePanelImage
+--
+style "xfce-panel-image-style"
+{
+  # Fix the panel images to a default gtk icon size, is only works for
+  # images below 32 pixels. You can for example use this when you have
+  # fuzzy launcher icons.
+  XfcePanelImage::force-gtk-icon-sizes = true
+}
+class "XfcePanelImage" style "xfce-panel-image-style"
diff --git a/libxfce4panel/xfce-panel-image.c b/libxfce4panel/xfce-panel-image.c
index ca7f325..f1952e1 100644
--- a/libxfce4panel/xfce-panel-image.c
+++ b/libxfce4panel/xfce-panel-image.c
@@ -82,16 +82,16 @@ static void   xfce_panel_image_set_property  (GObject   
  *object,
   GParamSpec  *pspec);
 static void   xfce_panel_image_finalize  (GObject *object);
 static void   xfce_panel_image_size_request  (GtkWidget   *widget,
-   GtkRequisition  
*requisition);
+  GtkRequisition  
*requisition);
 static void   xfce_panel_image_size_allocate (GtkWidget   *widget,
-   GtkAllocation   
*allocation);
+  GtkAllocation   *allocation);
 static gboolean   xfce_panel_image_expose_event  (GtkWidget   *widget,
-   GdkEventExpose  *event);
-static void   xfce_panel_image_style_set (GtkWidget *widget,
-  GtkStyle  *previous_style);
+  GdkEventExpose  *event);
+static void   xfce_panel_image_style_set (GtkWidget   *widget,
+  GtkStyle
*previous_style);
 static GdkPixbuf *xfce_panel_image_scale_pixbuf  (GdkPixbuf   *source,
-   gint dest_width,
-   gint 
dest_height);
+  gint dest_width,
+  gint 
dest_height);
 
 
 
@@ -290,6 +290,7 @@ xfce_panel_image_size_allocate (GtkWidget *widget,
   GdkPixbuf *pixbuf = NULL;
   GdkScreen *screen;
   GError*error = NULL;
+  gint   size;
 
   widget->allocation = *allocation;
 
@@ -327,14 +328,24 @@ xfce_panel_image_size_allocate (GtkWidget *widget,
 }
   else
 {
-  /* get the screen */
   screen = gtk_widget_get_screen (widget);
 
+  size = MIN (priv->width, priv->height);
+  if (G_UNLIKELY (priv->force_icon_sizes && size < 32))
+{
+  /* we use some hardcoded values here for convienence,
+   * above 32 pixels svg icons will kick in */
+  if (size > 16 && size < 22)
+size = 16;
+  else if (size > 22 && size < 24)
+size = 22;
+  else if (size > 24 && size < 32)
+size = 24;
+}
+
   /* get a pixbuf from the icon name */
   pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_for_screen 
(screen),
- priv->source,
- MIN (priv->width, priv->height),
- 0, NULL);
+ priv->source, size, 0, NULL);
 
   /* TOD

[Xfce4-commits] Some small code corrections.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to cc210e1ae7187b660c4576bfbf37545cce7ea633 (commit)
   from f0ba6b248866fafe0cfe8e7271d63200f702e054 (commit)

commit cc210e1ae7187b660c4576bfbf37545cce7ea633
Author: Nick Schermer 
Date:   Fri Sep 25 10:51:29 2009 +0200

Some small code corrections.

 panel/panel-dbus-service.c|2 +-
 panel/panel-item-dialog.c |   15 +--
 panel/panel-module-factory.c  |2 +-
 panel/panel-plugin-external.c |2 +-
 4 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/panel/panel-dbus-service.c b/panel/panel-dbus-service.c
index 9d35209..2a0e09d 100644
--- a/panel/panel-dbus-service.c
+++ b/panel/panel-dbus-service.c
@@ -104,7 +104,7 @@ static guint dbus_service_signals[LAST_SIGNAL];
 
 
 
-G_DEFINE_TYPE (PanelDBusService, panel_dbus_service, G_TYPE_OBJECT);
+G_DEFINE_TYPE (PanelDBusService, panel_dbus_service, G_TYPE_OBJECT)
 
 
 
diff --git a/panel/panel-item-dialog.c b/panel/panel-item-dialog.c
index f9a57c1..4960ba4 100644
--- a/panel/panel-item-dialog.c
+++ b/panel/panel-item-dialog.c
@@ -90,12 +90,12 @@ enum
 
 static const GtkTargetEntry drag_targets[] =
 {
-  { (gchar *) "xfce-panel/plugin-name", 0, 0 },
+  { "xfce-panel/plugin-name", 0, 0 },
 };
 
 
 
-G_DEFINE_TYPE (PanelItemDialog, panel_item_dialog, XFCE_TYPE_TITLED_DIALOG);
+G_DEFINE_TYPE (PanelItemDialog, panel_item_dialog, XFCE_TYPE_TITLED_DIALOG)
 
 
 
@@ -302,8 +302,11 @@ panel_item_dialog_response (GtkDialog *gtk_dialog,
 {
   module = panel_item_dialog_get_selected_module (dialog->treeview);
   if (G_LIKELY (module != NULL))
-panel_application_add_new_item (dialog->application,
-panel_module_get_name (module), NULL);
+{
+  panel_application_add_new_item (dialog->application,
+  panel_module_get_name (module), NULL);
+  g_object_unref (G_OBJECT (module));
+}
 }
   else
 {
@@ -446,7 +449,7 @@ panel_item_dialog_drag_begin (GtkWidget   *treeview,
 
   /* get the selected panel module */
   module = panel_item_dialog_get_selected_module (GTK_TREE_VIEW (treeview));
-  if (G_LIKELY (module))
+  if (G_LIKELY (module != NULL))
 {
   if (panel_module_is_usable (module))
 {
@@ -489,7 +492,7 @@ panel_item_dialog_drag_data_get (GtkWidget*treeview,
 
   /* get the selected module */
   module = panel_item_dialog_get_selected_module (GTK_TREE_VIEW (treeview));
-  if (G_LIKELY (module))
+  if (G_LIKELY (module != NULL))
 {
   /* get the internal module name */
   internal_name = panel_module_get_name (module);
diff --git a/panel/panel-module-factory.c b/panel/panel-module-factory.c
index b91a2c3..88e498c 100644
--- a/panel/panel-module-factory.c
+++ b/panel/panel-module-factory.c
@@ -83,7 +83,7 @@ static gboolean force_all_external = FALSE;
 
 
 
-G_DEFINE_TYPE (PanelModuleFactory, panel_module_factory, G_TYPE_OBJECT);
+G_DEFINE_TYPE (PanelModuleFactory, panel_module_factory, G_TYPE_OBJECT)
 
 
 
diff --git a/panel/panel-plugin-external.c b/panel/panel-plugin-external.c
index a0b673a..cfd4cfb 100644
--- a/panel/panel-plugin-external.c
+++ b/panel/panel-plugin-external.c
@@ -116,7 +116,7 @@ QueuedData;
 
 
 G_DEFINE_TYPE_WITH_CODE (PanelPluginExternal, panel_plugin_external, 
GTK_TYPE_SOCKET,
- G_IMPLEMENT_INTERFACE 
(XFCE_TYPE_PANEL_PLUGIN_PROVIDER, panel_plugin_external_provider_init))
+  G_IMPLEMENT_INTERFACE (XFCE_TYPE_PANEL_PLUGIN_PROVIDER, 
panel_plugin_external_provider_init))
 
 
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Set the orientation property for all the vertical box widgets.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to ec6e5331f949718f3a5fc03f86d59f19904ce64d (commit)
   from 203e52db7cde77082b24c04dd66dfd09e0f5efbc (commit)

commit ec6e5331f949718f3a5fc03f86d59f19904ce64d
Author: Nick Schermer 
Date:   Thu Sep 24 20:08:57 2009 +0200

Set the orientation property for all the vertical box widgets.

 panel/panel-preferences-dialog.ui   |   12 +---
 plugins/actions/actions-dialog.ui   |3 ++-
 plugins/launcher/launcher-dialog.ui |9 -
 plugins/pager/pager-dialog.ui   |5 -
 plugins/separator/separator-dialog.ui   |4 +++-
 plugins/systray/systray-dialog.ui   |5 -
 plugins/tasklist/tasklist-dialog.ui |7 ++-
 plugins/windowmenu/windowmenu-dialog.ui |6 +-
 8 files changed, 41 insertions(+), 10 deletions(-)

diff --git a/panel/panel-preferences-dialog.ui 
b/panel/panel-preferences-dialog.ui
index 056fa6d..43db11d 100644
--- a/panel/panel-preferences-dialog.ui
+++ b/panel/panel-preferences-dialog.ui
@@ -1,6 +1,6 @@
 
 
-  
+  
   
   
   
@@ -33,11 +33,13 @@
 
   
 True
+vertical
 2
 
   
 True
 6
+vertical
 12
 
   
@@ -110,6 +112,7 @@
   
 True
 6
+vertical
 6
 
   
@@ -125,6 +128,7 @@
   
 True
 6
+vertical
 6
 
   
@@ -318,6 +322,7 @@
   
 True
 6
+vertical
 6
 
   
@@ -514,6 +519,7 @@
 
   
 True
+vertical
 6
 
   
@@ -742,9 +748,9 @@
   
   
 
-  
-  
   
+  
+  
 
   
 
diff --git a/plugins/actions/actions-dialog.ui 
b/plugins/actions/actions-dialog.ui
index 3bbd135..75176fc 100644
--- a/plugins/actions/actions-dialog.ui
+++ b/plugins/actions/actions-dialog.ui
@@ -1,6 +1,6 @@
 
 
-  
+  
   
   
   
@@ -11,6 +11,7 @@
 
   
 True
+vertical
 2
 
   
diff --git a/plugins/launcher/launcher-dialog.ui 
b/plugins/launcher/launcher-dialog.ui
index 23d2d16..c8600be 100644
--- a/plugins/launcher/launcher-dialog.ui
+++ b/plugins/launcher/launcher-dialog.ui
@@ -1,6 +1,6 @@
 
 
-  
+  
   
   
   
@@ -65,6 +65,7 @@
 
   
 True
+vertical
 2
 
   
@@ -124,6 +125,7 @@
 
   
 True
+vertical
 6
 True
 
@@ -256,6 +258,7 @@
   
 True
 6
+vertical
 6
 
   
@@ -263,6 +266,7 @@
 True
 True
 False
+Select 
this option to disable the tooltips when moving over the panel button or menu 
items.
 True
 True
   
@@ -291,6 +295,7 @@
 True
 True
 False
+Select 
this option to move the clicked menu item to the panel.
 True
 True
   
@@ -415,11 +420,13 @@
 
   
 True
+vertical
 2
 
   
 True
 6
+vertical
 6
 
   
diff --git a/plugins/pager/pager-dialog.ui b/plugins/pager/pager-dialog.ui
index 0e028f5..1ef5027 100644
--- a/plugins/pager/pager-dialog.ui
+++ b/plugins/pager/pager-dialog.ui
@@ -1,6 +1,6 @@
 
 
-  
+  
   
   
   
@@ -11,11 +11,13 @@
 
   
 True
+vertical
 2
 
   
 True
 6
+vertical
 6
 
   
@@ -33,6 +35,7 @@
 
   
 True
+vertical
 6
 
   
diff --git a/plugins/separator/separator-dialog.ui 
b/plugins/separator/separator-dialog.ui
index bb5e98d..10f888d 100644
--- a/plugins/separator/separator-dialog.ui
+++ b/plugins/separator/separator-dialog.ui
@@ -1,6 +1,6 @@
 
 
-  
+  
   
   
   
@@ -11,6 +11,7 @@
 
   
 True
+vertical
 2
 
   
@@ -28,6 +29,7 @@
   

[Xfce4-commits] Fix a harmless compiler warning.

2009-09-25 Thread Nick Schermer
Updating branch refs/heads/devel
 to 203e52db7cde77082b24c04dd66dfd09e0f5efbc (commit)
   from c2e4b8615e200961bc5b66985cd55d00794027a0 (commit)

commit 203e52db7cde77082b24c04dd66dfd09e0f5efbc
Author: Nick Schermer 
Date:   Thu Sep 24 20:08:01 2009 +0200

Fix a harmless compiler warning.

 common/panel-xfconf.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/panel-xfconf.c b/common/panel-xfconf.c
index 0332046..e3317c1 100644
--- a/common/panel-xfconf.c
+++ b/common/panel-xfconf.c
@@ -42,7 +42,7 @@ panel_properties_get_channel (GObject *object_for_weak_ref)
 }
 
   channel = xfconf_channel_get (XFCE_PANEL_PLUGIN_CHANNEL_NAME);
-  g_object_weak_ref (object_for_weak_ref, xfconf_shutdown, NULL);
+  g_object_weak_ref (object_for_weak_ref, (GWeakNotify) xfconf_shutdown, NULL);
 
   return channel;
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updates to Slovak (sk) translation

2009-09-25 Thread Transifex
Updating branch refs/heads/master
 to 5325e0ea2a460ddfa85195d126e1c40a2a0b7d9e (commit)
   from 9f6b24d508cab77053f45a1ecccea4658c1dff36 (commit)

commit 5325e0ea2a460ddfa85195d126e1c40a2a0b7d9e
Author: Robert Hartl 
Date:   Fri Sep 25 15:15:07 2009 +

l10n: Updates to Slovak (sk) translation

Transmitted-via: Transifex (translations.xfce.org)

 po/sk.po |  346 --
 1 files changed, 157 insertions(+), 189 deletions(-)

diff --git a/po/sk.po b/po/sk.po
index 087c046..80971a0 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -3,18 +3,18 @@
 # Copyright (C) 2003-2006 The Xfce development team.
 # Juraj Brosz , 2004, 2005.
 # Roman Moravcik , 2006.
-#
+# Robert Hartl , 2009.
 msgid ""
 msgstr ""
 "Project-Id-Version: orage 4.3.90.2\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2008-11-11 09:18+0200\n"
-"PO-Revision-Date: 2006-05-02 21:55+0200\n"
-"Last-Translator: Roman Moravcik \n"
+"PO-Revision-Date: 2009-09-25 17:14+0200\n"
+"Last-Translator: Robert Hartl \n"
 "Language-Team: Slovak \n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
 
 #: ../globaltime/globaltime.c:100
 msgid "Raising GlobalTime window..."
@@ -42,9 +42,8 @@ msgid "Starting time adjustment mode"
 msgstr ""
 
 #: ../globaltime/globaltime.c:381
-#, fuzzy
 msgid "Localtime"
-msgstr "Miesto"
+msgstr "Miestny čas"
 
 #: ../globaltime/globaltime.c:456
 msgid ""
@@ -96,7 +95,7 @@ msgstr "Zvoľte časovú zónu"
 
 #: ../globaltime/gt_prefs.c:511
 msgid "update this clock"
-msgstr ""
+msgstr "aktualizovať tieto hodiny"
 
 #: ../globaltime/gt_prefs.c:516 ../globaltime/gt_prefs.c:1033
 msgid "add new empty clock"
@@ -108,7 +107,7 @@ msgstr ""
 
 #: ../globaltime/gt_prefs.c:526
 msgid "delete this clock"
-msgstr ""
+msgstr "zmazať tieto hodiny"
 
 #: ../globaltime/gt_prefs.c:534
 msgid "move this clock first"
@@ -136,25 +135,24 @@ msgstr ""
 
 #: ../globaltime/gt_prefs.c:586
 msgid "Modify Clock "
-msgstr ""
+msgstr "Upraviť hodiny "
 
 #. ---HEADING---
 #: ../globaltime/gt_prefs.c:599
 msgid "Clock Parameters"
-msgstr ""
+msgstr "Parametre hodín"
 
 #: ../globaltime/gt_prefs.c:603
 msgid "Name of the clock:"
-msgstr ""
+msgstr "Názov hodín:"
 
 #: ../globaltime/gt_prefs.c:609
-#, fuzzy
 msgid "enter name of clock"
-msgstr "Hodiny Orage"
+msgstr "zadajte názov hodín"
 
 #: ../globaltime/gt_prefs.c:612
 msgid "Timezone of the clock:"
-msgstr ""
+msgstr "Časová zóna hodín:"
 
 #: ../globaltime/gt_prefs.c:618
 msgid ""
@@ -164,13 +162,12 @@ msgstr ""
 
 #: ../globaltime/gt_prefs.c:642
 msgid "Text Formatting"
-msgstr ""
+msgstr "Formátovanie textu"
 
 #. background-
 #: ../globaltime/gt_prefs.c:648 ../globaltime/gt_prefs.c:855
-#, fuzzy
 msgid "Background color:"
-msgstr "Nastaviť _farbu pozadia:"
+msgstr "Farba pozadia:"
 
 #: ../globaltime/gt_prefs.c:655
 msgid "Click to change background colour for clock"
@@ -181,9 +178,8 @@ msgstr ""
 #: ../globaltime/gt_prefs.c:795 ../globaltime/gt_prefs.c:825
 #: ../globaltime/gt_prefs.c:871 ../globaltime/gt_prefs.c:904
 #: ../globaltime/gt_prefs.c:937 ../globaltime/gt_prefs.c:971
-#, fuzzy
 msgid "Use default"
-msgstr "Prednastavený alarm kalendára"
+msgstr "Použiť predvolené"
 
 #: ../globaltime/gt_prefs.c:669 ../globaltime/gt_prefs.c:701
 #: ../globaltime/gt_prefs.c:734 ../globaltime/gt_prefs.c:767
@@ -268,29 +264,25 @@ msgid "Underline for time of clock:"
 msgstr ""
 
 #: ../globaltime/gt_prefs.c:1026
-#, fuzzy
 msgid "update preferences"
-msgstr "Nastavenie kalendára"
+msgstr "aktualizovať predvoľby"
 
 #: ../globaltime/gt_prefs.c:1061
-#, fuzzy
 msgid "Modify Preferences"
-msgstr "Nastavenie kalendára"
+msgstr "Upraviť predvoľby"
 
 #. ---HEADING--
 #: ../globaltime/gt_prefs.c:1072
-#, fuzzy
 msgid "General Preferences"
-msgstr "Nastavenie kalendára"
+msgstr "Všeobecné predvoľby"
 
 #: ../globaltime/gt_prefs.c:1076
-#, fuzzy
 msgid "Decorations:"
-msgstr "Trvanie"
+msgstr "Dekorácie:"
 
 #: ../globaltime/gt_prefs.c:1082
 msgid "Use normal decorations"
-msgstr ""
+msgstr "Použiť bežné dekorácie"
 
 #: ../globaltime/gt_prefs.c:1093
 msgid "Do not show window decorations (borders)"
@@ -306,18 +298,16 @@ msgid "All clocks have same size"
 msgstr ""
 
 #: ../globaltime/gt_prefs.c:1110
-#, fuzzy
 msgid "Varying"
-msgstr "Upozornenie"
+msgstr ""
 
 #: ../globaltime/gt_prefs.c:1115
 msgid "Clock sizes vary"
 msgstr ""
 
 #: ../globaltime/gt_prefs.c:1121
-#, fuzzy
 msgid "Local timezone:"
-msgstr "Vyberte si miestnu časovú zónu"
+msgstr "Miestna časová zóna:"
 
 #: ../globaltime/gt_prefs.c:1128
 msgid ""
@@ -347,11 +337,11 @@ msgstr "Nastaviť _farbu pozadia:"
 #. clock size (=vbox size): height a

[Xfce4-commits] l10n: Updates to Albanian (sq) translation

2009-09-25 Thread Transifex
Updating branch refs/heads/master
 to cfd7f6e8372bb81897b241b89efc391a08c86fd5 (commit)
   from f1b1f61c9929594652a3cbd48afda9312d5fb5a3 (commit)

commit cfd7f6e8372bb81897b241b89efc391a08c86fd5
Author: Besnik Bleta 
Date:   Fri Sep 25 14:02:13 2009 +

l10n: Updates to Albanian (sq) translation

Transmitted-via: Transifex (translations.xfce.org)

 po/sq.po |  230 ++
 1 files changed, 80 insertions(+), 150 deletions(-)

diff --git a/po/sq.po b/po/sq.po
index a4f99a8..8e774b5 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -1,13 +1,13 @@
 # Albanian translation of the xfce4-session package.
 # Copyright (C) 2003-2006 The Xfce development team.
 # This file is distributed under the same license as the xfce4-session package.
-# Besnik Bleta , 2007.
+# Besnik Bleta , 2007-2009.
 msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-session 4.4.0\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-07-26 19:15-0700\n"
-"PO-Revision-Date: 2008-11-11 00:39+0200\n"
+"PO-Revision-Date: 2009-09-25 17:09+0200\n"
 "Last-Translator: Besnik Bleta \n"
 "Language-Team: Albanian \n"
 "MIME-Version: 1.0\n"
@@ -24,20 +24,17 @@ msgid "Choose theme file to install..."
 msgstr "Zgjidhni kartelë teme për instalim..."
 
 #: ../engines/balou/config.c:336
-#, fuzzy, c-format
+#, c-format
 msgid "Unable to install splash theme from file \"%s\""
-msgstr "I pazoti të heqë temë sigle \"%s\" prej drejtorisë %s."
+msgstr "I pazoti të instalojë temë sigle prej kartelës \"%s\" ."
 
 #: ../engines/balou/config.c:339
 msgid "Theme File Error"
 msgstr ""
 
 #: ../engines/balou/config.c:342
-#, fuzzy
 msgid "Please check that the file is a valid splash theme archive."
-msgstr ""
-"I pazoti të instalojë temë sigle prej kartelës %s, ju lutem kontrolloni 
që "
-"kartela është një arkiv i vlefshëm teme sigle."
+msgstr "Ju lutem kontrolloni që kartela është një arkiv i vlefshëm teme 
sigle."
 
 #: ../engines/balou/config.c:396
 #, c-format
@@ -82,7 +79,7 @@ msgstr "Minj"
 
 #: ../engines/mice/mice.c:374
 msgid "Mice Splash Engine"
-msgstr "Mekanizëm Sigle Minj"
+msgstr "Mekanizëm Sigle Mijsh"
 
 #: ../engines/simple/simple.c:345
 msgid "Configure Simple..."
@@ -133,9 +130,8 @@ msgid "Simple Splash Engine"
 msgstr "Mekanizëm Sigle e Thjeshtë"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:56
-#, fuzzy
 msgid "Session"
-msgstr "_Sesion"
+msgstr "Sesion"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:57
 msgid "Loc_k screen"
@@ -143,15 +139,13 @@ msgstr ""
 
 #: ../panel-plugin/xfsm-logout-plugin.c:58
 #: ../panel-plugin/xfsm-logout-plugin.c:98
-#, fuzzy
 msgid "_Suspend"
-msgstr "Pezulloje"
+msgstr "_Pezulloje"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:59
 #: ../panel-plugin/xfsm-logout-plugin.c:105
-#, fuzzy
 msgid "_Hibernate"
-msgstr "Dimëro"
+msgstr "_Dimëroje"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:60
 #: ../panel-plugin/xfsm-logout-plugin.c:91
@@ -160,22 +154,19 @@ msgstr ""
 
 #: ../panel-plugin/xfsm-logout-plugin.c:61
 #: ../panel-plugin/xfsm-logout-plugin.c:84
-#, fuzzy
 msgid "Shut _down"
-msgstr "Fik"
+msgstr "_Fike"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:62
 #: ../panel-plugin/xfsm-logout-plugin.c:77
-#, fuzzy
 msgid "_Log out"
-msgstr "Dil"
+msgstr "_Dilni"
 
 #. XFSM_SHUTDOWN_ASK
 #. XFSM_SHUTDOWN_LOGOUT
 #: ../panel-plugin/xfsm-logout-plugin.c:75
-#, fuzzy
 msgid "Are you sure you want to log out?"
-msgstr "Jeni të sigurt se doni të përfundoni \"%s\"?"
+msgstr "Jeni të sigurt se doni të dilni?"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:76
 #, c-format
@@ -188,9 +179,8 @@ msgstr ""
 
 #. XFSM_SHUTDOWN_HALT
 #: ../panel-plugin/xfsm-logout-plugin.c:82
-#, fuzzy
 msgid "Are you sure you want to shut down?"
-msgstr "Jeni të sigurt se doni të përfundoni \"%s\"?"
+msgstr "Jeni të sigurt se doni ta fikni?"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:83
 #, c-format
@@ -198,15 +188,13 @@ msgid "Your system will shut down in %u seconds."
 msgstr ""
 
 #: ../panel-plugin/xfsm-logout-plugin.c:86
-#, fuzzy
 msgid "Failed to shut down."
-msgstr "Dështoi në pezullimin e sesionit"
+msgstr "Dështoi në fikjen."
 
 #. XFSM_SHUTDOWN_REBOOT
 #: ../panel-plugin/xfsm-logout-plugin.c:89
-#, fuzzy
 msgid "Are you sure you want to reboot?"
-msgstr "Jeni të sigurt se doni të përfundoni \"%s\"?"
+msgstr "Jeni të sigurt se doni ta rinisni?"
 
 #: ../panel-plugin/xfsm-logout-plugin.c:90
 #, c-format
@@ -214,29 +202,24 @@ msgid "Your system will reboot in %u seconds."
 msgstr ""
 
 #: ../panel-plugin/xfsm-logout-plugin.c:93
-#, fuzzy
 msgid "Failed to reboot."
-msgstr "Dështoi në krijimin e kartelës %s"
+msgstr "Dështoi në rinisjen."
 
 #: ../panel-plugin/xfsm-logout-plugin.c:100
-#, fuzzy
 msgid "Failed to suspend"
-msgstr "Dështoi në pezullimin e sesionit"
+msgstr "Dështoi në pezullimin."
 
 #: ../panel-plugin/xfsm-logout-plugin.c:107
-#, fuzzy
 msgid "Failed to hibernate"
-msgstr "Dështoi në dimërimin e sesionit"
+msgstr "Dësht

[Xfce4-commits] l10n: Updates to Albanian (sq) translation

2009-09-25 Thread Transifex
Updating branch refs/heads/master
 to 5e5fd12245820fef3b3380c7de2e8f058ce82bb8 (commit)
   from 781f48847676416b0a1d3ca631c12034fac222e3 (commit)

commit 5e5fd12245820fef3b3380c7de2e8f058ce82bb8
Author: Besnik Bleta 
Date:   Fri Sep 25 13:50:02 2009 +

l10n: Updates to Albanian (sq) translation

Transmitted-via: Transifex (translations.xfce.org)

 po/sq.po |   75 +++--
 1 files changed, 28 insertions(+), 47 deletions(-)

diff --git a/po/sq.po b/po/sq.po
index c8aad9b..28d88ed 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -1,14 +1,14 @@
 # Albanian translations for xfce4-appfinder package
 # Copyright (C) 2004-2005 Eduard Roccatello.
 # This file is distributed under the same license as the xfce4-appfinder 
package.
-# Besnik Bleta , 2008.
+# Besnik Bleta , 2008-2009.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-appfinder 4.4.0\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-01-02 13:31+0100\n"
-"PO-Revision-Date: 2008-01-21 09:42+0200\n"
+"PO-Revision-Date: 2009-09-25 16:58+0200\n"
 "Last-Translator: Besnik Bleta \n"
 "Language-Team: Albanian \n"
 "MIME-Version: 1.0\n"
@@ -16,9 +16,8 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 
 #: ../src/main.c:43
-#, fuzzy
 msgid "Version information"
-msgstr "Më Tepër të Dhëna..."
+msgstr "Të Dhëna versioni"
 
 #: ../src/main.c:44
 msgid "[MENUFILE]"
@@ -27,44 +26,44 @@ msgstr ""
 #: ../src/main.c:65
 #, c-format
 msgid "Type '%s --help' for usage information."
-msgstr ""
+msgstr "Shtypni '%s --help' për të dhëna përdorimi."
 
 #: ../src/main.c:71
 msgid "Unable to initialize GTK+."
-msgstr ""
+msgstr "I pazoti të gatisë GTK+."
 
 #: ../src/main.c:81
 msgid "The Xfce development team. All rights reserved."
-msgstr ""
+msgstr "Ekipi zhvillues i Xfce-së. Tërë të drejtat të rezervuara."
 
 #: ../src/main.c:82
 #, c-format
 msgid "Please report bugs to <%s>."
-msgstr ""
+msgstr "Ju lutem njoftoni të meta te <%s>."
 
 #: ../src/main.c:98
 #, c-format
 msgid "Failed to connect to xfconf daemon. Reason: %s"
-msgstr ""
+msgstr "Dështoi në lidhjen me demonin xfconf. Arsyeja: %s"
 
 #: ../src/main.c:102
 msgid "Failed to connect to xfconf daemon."
-msgstr ""
+msgstr "Dështoi lidhja me demonin  xfconf."
 
-#: ../src/xfce-appfinder-window.c:280 ../src/xfce-appfinder-window.c:294
+#: ../src/xfce-appfinder-window.c:280
+#: ../src/xfce-appfinder-window.c:294
 #: ../data/xfce4-appfinder.desktop.in.h:1
-#, fuzzy
 msgid "Application Finder"
-msgstr "Gjetës Zbatimesh për Xfce 4-n"
+msgstr "Gjetës Zbatimesh"
 
-#: ../src/xfce-appfinder-window.c:295 ../data/xfce4-appfinder.desktop.in.h:2
+#: ../src/xfce-appfinder-window.c:295
+#: ../data/xfce4-appfinder.desktop.in.h:2
 msgid "Find and launch applications installed on your system"
-msgstr ""
+msgstr "Gjeni dhe nisni zbatime të instaluar në sistemin tuaj"
 
 #: ../src/xfce-appfinder-window.c:318
-#, fuzzy
 msgid "Search"
-msgstr "Kërko"
+msgstr "Kërko"
 
 #: ../src/xfce-appfinder-window.c:341
 msgid "Categories"
@@ -72,99 +71,81 @@ msgstr "Kategori"
 
 #: ../src/xfce-appfinder-window.c:389
 msgid "C_lose after execute"
-msgstr ""
+msgstr "_Mbylle pas ekzekutimit"
 
 #: ../src/xfce-appfinder-window.c:790
 #, c-format
 msgid "Could not execute application %s. Reason: %s"
-msgstr ""
+msgstr "Nuk përmbushi dot zbatimin %s. Arsyeja: %s"
 
 #: ../src/xfce-appfinder-window.c:794
-#, fuzzy, c-format
+#, c-format
 msgid "Could not execute application %s"
-msgstr "Nuk përmbush dot zbatimin e përzgjedhur"
+msgstr "Nuk përmbush dot zbatimin %s"
 
 #: ../src/xfce-appfinder-window.c:916
 #, c-format
 msgid "Could not load menu from %s. Reason: %s"
-msgstr ""
+msgstr "S'ngarkoi dot menu prej %s. Arsyeja: %s"
 
-#: ../src/xfce-appfinder-window.c:918 ../src/xfce-appfinder-window.c:927
+#: ../src/xfce-appfinder-window.c:918
+#: ../src/xfce-appfinder-window.c:927
 msgid "Could not load system menu"
-msgstr ""
+msgstr "S'ngarkoi dot menu sistemi"
 
 #: ../src/xfce-appfinder-window.c:925
 #, c-format
 msgid "Could not load menu from %s"
-msgstr ""
+msgstr "S'ngarkoi dot menu prej %s"
 
-#: ../src/xfce-appfinder-window.c:940 ../src/xfce-appfinder-window.c:947
+#: ../src/xfce-appfinder-window.c:940
+#: ../src/xfce-appfinder-window.c:947
 #: ../src/xfce-appfinder-window.c:1203
 msgid "All"
 msgstr "Tërë"
 
 #~ msgid "Xfce 4 Appfinder"
 #~ msgstr "Xfce 4 Appfinder"
-
 #~ msgid "Name"
 #~ msgstr "Emër: "
-
 #~ msgid "N/A"
 #~ msgstr "N/A"
-
 #~ msgid "Comment"
 #~ msgstr "Koment "
-
 #~ msgid "Categories"
 #~ msgstr "Kategori "
-
 #~ msgid "Command"
 #~ msgstr "Urdhër "
-
 #~ msgid "Run program"
 #~ msgstr "Nis program"
-
 #~ msgid "Show Categories"
 #~ msgstr "Shfaq Kategori"
-
 #~ msgid "Core"
 #~ msgstr "Bërthama"
-
 #~ msgid "Development"
 #~ msgstr "Zhvillim"
-
 #~ msgid "Office"
 #~ msgstr "Zyrë"
-
 #~ msgid "Graphics"
 #~ msgstr "Grafika"
-
 #~ msgid "Network"
 #~ msgstr "Rrjet"
-
 #~ msgid "AudioVideo"
 #~ msgstr "AudioVide

[Xfce4-commits] l10n: Updates to Danish (da) translation

2009-09-25 Thread Transifex
Updating branch refs/heads/master
 to 6fa50baf0efe7115bf238e034994f45a9b1cf420 (commit)
   from 1e4663ff1a1961aeffbabd7bf7360d101092ef66 (commit)

commit 6fa50baf0efe7115bf238e034994f45a9b1cf420
Author: Per Kongstad 
Date:   Fri Sep 25 13:42:58 2009 +

l10n: Updates to Danish (da) translation

Transmitted-via: Transifex (translations.xfce.org)

 po/da.po |  544 ++
 1 files changed, 191 insertions(+), 353 deletions(-)

diff --git a/po/da.po b/po/da.po
index 08d53a3..7ca982a 100644
--- a/po/da.po
+++ b/po/da.po
@@ -8,7 +8,7 @@ msgstr ""
 "Project-Id-Version: thunar 1.0.1\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-09-25 15:26+0200\n"
-"PO-Revision-Date: 2009-09-17 19:19+0100\n"
+"PO-Revision-Date: 2009-09-25 15:40+0100\n"
 "Last-Translator: Per Kongstad \n"
 "Language-Team: Danish \n"
 "MIME-Version: 1.0\n"
@@ -143,10 +143,13 @@ msgid "Failed to execute \"%s\""
 msgstr "Kunne ikke køre \"%s\""
 
 #. tell the user that we were unable to launch the file specified
-#: ../thunar/thunar-application.c:1083 ../thunar/thunar-application.c:1205
-#: ../thunar/thunar-launcher.c:1055 ../thunar/thunar-location-entry.c:389
+#: ../thunar/thunar-application.c:1083
+#: ../thunar/thunar-application.c:1205
+#: ../thunar/thunar-launcher.c:1055
+#: ../thunar/thunar-location-entry.c:389
 #: ../thunar/thunar-location-entry.c:417
-#: ../thunar/thunar-shortcuts-view.c:1236 ../thunar/thunar-window.c:1501
+#: ../thunar/thunar-shortcuts-view.c:1236
+#: ../thunar/thunar-window.c:1501
 #, c-format
 msgid "Failed to open \"%s\""
 msgstr "Kunne ikke åbne \"%s\""
@@ -225,19 +228,18 @@ msgstr "Fjern alle filer og mapper fra papirkurven?"
 
 #. append the "Empty Trash" menu action
 #. add the "Empty Trash" menu item
-#: ../thunar/thunar-application.c:1695 ../thunar/thunar-location-buttons.c:171
-#: ../thunar/thunar-shortcuts-view.c:834 ../thunar/thunar-tree-view.c:1104
-#: ../thunar/thunar-window.c:295 ../plugins/thunar-tpa/main.c:49
+#: ../thunar/thunar-application.c:1695
+#: ../thunar/thunar-location-buttons.c:171
+#: ../thunar/thunar-shortcuts-view.c:834
+#: ../thunar/thunar-tree-view.c:1104
+#: ../thunar/thunar-window.c:295
+#: ../plugins/thunar-tpa/main.c:49
 msgid "_Empty Trash"
 msgstr "_Tøm papirkurv"
 
 #: ../thunar/thunar-application.c:1699
-msgid ""
-"If you choose to empty the Trash, all items in it will be permanently lost. "
-"Please note that you can also delete them separately."
-msgstr ""
-"Hvis du vælger at tømme papirkurven, vil alle elementer i denne være tabt "
-"for bestandig. Vær opmærksom på at du også kan slette dem enkeltvis."
+msgid "If you choose to empty the Trash, all items in it will be permanently 
lost. Please note that you can also delete them separately."
+msgstr "Hvis du vælger at tømme papirkurven, vil alle elementer i denne 
være tabt for bestandig. Vær opmærksom på at du også kan slette dem 
enkeltvis."
 
 #: ../thunar/thunar-application.c:1716
 msgid "Emptying the Trash..."
@@ -259,7 +261,8 @@ msgid "Restoring files..."
 msgstr "Genopretter filer..."
 
 #. tell the user that it didn't work
-#: ../thunar/thunar-chooser-button.c:234 ../thunar/thunar-chooser-dialog.c:465
+#: ../thunar/thunar-chooser-button.c:234
+#: ../thunar/thunar-chooser-dialog.c:465
 #, c-format
 msgid "Failed to set default application for \"%s\""
 msgstr "Kunne ikke indstille standardprogram for \"%s\""
@@ -270,18 +273,16 @@ msgstr "Intet valgt program"
 
 #: ../thunar/thunar-chooser-button.c:313
 #, c-format
-msgid ""
-"The selected application is used to open this and other files of type \"%s\"."
-msgstr ""
-"Det valgte program bruges til åbning af denne fil samt andre filer af typen "
-"\"%s\"."
+msgid "The selected application is used to open this and other files of type 
\"%s\"."
+msgstr "Det valgte program bruges til åbning af denne fil samt andre filer af 
typen \"%s\"."
 
 #. add the "Other Application..." choice
 #: ../thunar/thunar-chooser-button.c:425
 msgid "_Other Application..."
 msgstr "_Andet program..."
 
-#: ../thunar/thunar-chooser-dialog.c:185 ../thunar/thunar-launcher.c:171
+#: ../thunar/thunar-chooser-dialog.c:185
+#: ../thunar/thunar-launcher.c:171
 msgid "Open With"
 msgstr "Åbn med"
 
@@ -291,12 +292,8 @@ msgid "Use a _custom command:"
 msgstr "Brug en _tilpasset kommando:"
 
 #: ../thunar/thunar-chooser-dialog.c:258
-msgid ""
-"Use a custom command for an application that is not available from the above "
-"application list."
-msgstr ""
-"Brug en tilpasset kommando for et program der ikke er tilgængelig fra den "
-"ovenstående programliste."
+msgid "Use a custom command for an application that is not available from the 
above application list."
+msgstr "Brug en tilpasset kommando for et program der ikke er tilgængelig fra 
den ovenstående programliste."
 
 #. create the "Custom command" button
 #: ../thunar/thunar-chooser-dialog.c:277
@@ -332,16 +329,12 @@ msgstr "Åbn %s og anden filt

[Xfce4-commits] l10n: Updates to Albanian (sq) translation

2009-09-25 Thread Transifex
Updating branch refs/heads/master
 to f10b78811b9fe8ee0738697c090496b0814ab195 (commit)
   from 52cc2a7e6d0ccfd5687d4f5676c5310e8e85b4e3 (commit)

commit f10b78811b9fe8ee0738697c090496b0814ab195
Author: Besnik Bleta 
Date:   Fri Sep 25 13:43:24 2009 +

l10n: Updates to Albanian (sq) translation

Transmitted-via: Transifex (translations.xfce.org)

 po/sq.po |   91 ++---
 1 files changed, 33 insertions(+), 58 deletions(-)

diff --git a/po/sq.po b/po/sq.po
index 643a725..cae708d 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -1,14 +1,14 @@
 # Albanian translation of the libxfce4util package.
 # This file is distributed under the same license as the libxfce4util package.
 # Copyright (C) 2003-2006 Benedikt Meurer 
-# Besnik Bleta , 2007.
+# Besnik Bleta , 2007-2009.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: libxfce4util 4.4.0\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-01-24 10:40+0100\n"
-"PO-Revision-Date: 2007-01-18 22:32+0200\n"
+"PO-Revision-Date: 2009-09-25 16:52+0200\n"
 "Last-Translator: Besnik Bleta \n"
 "Language-Team: Albanian \n"
 "MIME-Version: 1.0\n"
@@ -47,34 +47,23 @@ msgstr ""
 " ndryshime, lejohen me kusht që të plotësohen kushtet vijuese:\n"
 "\n"
 " 1. Rishpërndarja e kodit burim duhet të ruajë shënimin e mësipërm\n"
-"rreth të drejtash kopjimi, këtë listë kushtesh dhe disclaimer-in "
-"vijues.\n"
+"rreth të drejtash kopjimi, këtë listë kushtesh dhe disclaimer-in 
vijues.\n"
 " 2. Rishpërndarja në formë dyore duhet të riprodhojë shënimin e 
mësipër\n"
-"rreth të drejtash kopjimi, këtë listë kushtesh dhe disclaimer-in 
vijues "
-"te\n"
+"rreth të drejtash kopjimi, këtë listë kushtesh dhe disclaimer-in 
vijues te\n"
 "dokumentacioni dhe/ose materiale të tjera të dhëna me shpërndarjen.\n"
 "\n"
 " KY SOFTWARE JEPET NGA AUTORI ''SIÇ ËSHTË'' DHE NUK MERREN PËRSIPËR 
ÇFARËDO\n"
-" GARANCISH TË SHPREHURA OSE TË NËNKUPTUARA, PËRFSHI, POR JO DUKE U 
KUFIZUAR "
-"NË,\n"
-" GARANCI TË NËNKUPTUARA TREGTUESHMËRIE DHE PËRSHTATSHËRIE PËR NJË 
QËLLIM TË "
-"CAKTUAR.\n"
-" AUTORI NË ASNJË RAST NUK DO TË JETË PËRGJEGJËS PËR ÇFARËDO DËMI 
TË "
-"DREJTPËRDREJTË,\n"
+" GARANCISH TË SHPREHURA OSE TË NËNKUPTUARA, PËRFSHI, POR JO DUKE U 
KUFIZUAR NË,\n"
+" GARANCI TË NËNKUPTUARA TREGTUESHMËRIE DHE PËRSHTATSHËRIE PËR NJË 
QËLLIM TË CAKTUAR.\n"
+" AUTORI NË ASNJË RAST NUK DO TË JETË PËRGJEGJËS PËR ÇFARËDO DËMI 
TË DREJTPËRDREJTË,\n"
 " TË TËRTHORTË, TË RRJEDHUR, SPECIAL, SHEMBULLOR, OSE RRJEDHOR (PËRFSHI, 
POR\n"
-" JO DUKE U KUFIZUAR NË, SIGURIM ZËVENDËSIMI TË MIRASH MATERIALE APO "
-"SHËRBIMESH;\n"
-" HUMBJE PËRDORIMI, TË DHËNASH, APO FITIMI; APO NDËRPRERJE AKTIVITETI) 
SIDO "
-"QË TË JETË\n"
-" SHKAKTUAR DHE SIPAS CILËSDO TEORIE PËRGJEGJSHMËRIE, QOFTË NË KONTRATË, 
"
-"PËRGJEGJSHMËRI\n"
-" STRIKTE, APO SHTREMBËRIM (PËRFSHI NEGLIZHENCË OSE TJETËR) DALË NË 
ÇFARËDO "
-"RRUGE PREJ\n"
-" PËRDORIMIT TË KËTIJ SOFTWARE-I, EDHE PSE SINJALIZOHET MBI MUNDËSI 
DËMESH TË "
-"TILLË.\n"
+" JO DUKE U KUFIZUAR NË, SIGURIM ZËVENDËSIMI TË MIRASH MATERIALE APO 
SHËRBIMESH;\n"
+" HUMBJE PËRDORIMI, TË DHËNASH, APO FITIMI; APO NDËRPRERJE AKTIVITETI) 
SIDO QË TË JETË\n"
+" SHKAKTUAR DHE SIPAS CILËSDO TEORIE PËRGJEGJSHMËRIE, QOFTË NË KONTRATË, 
PËRGJEGJSHMËRI\n"
+" STRIKTE, APO SHTREMBËRIM (PËRFSHI NEGLIZHENCË OSE TJETËR) DALË NË 
ÇFARËDO RRUGE PREJ\n"
+" PËRDORIMIT TË KËTIJ SOFTWARE-I, EDHE PSE SINJALIZOHET MBI MUNDËSI 
DËMESH TË TILLË.\n"
 
 #: libxfce4util/xfce-license.c:55
-#, fuzzy
 msgid ""
 "This program is free software; you can redistribute it and/or modify it\n"
 "under the terms of the GNU General Public License as published by the Free\n"
@@ -86,33 +75,24 @@ msgid ""
 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\n"
 "more details.\n"
 "\n"
-"You should have received a copy of the GNU General Public License along "
-"with\n"
-"this program; if not, write to the Free Software Foundation, Inc., 51 "
-"Franklin\n"
+"You should have received a copy of the GNU General Public License along 
with\n"
+"this program; if not, write to the Free Software Foundation, Inc., 51 
Franklin\n"
 "Street, Fifth Floor, Boston, MA 02110-1301, USA.\n"
 msgstr ""
-"Ky program është software i lirë; mund ta rishpërndani dhe/ose 
ndryshoni "
-"atë\n"
-"sipas kushteve të Licensës së Përgjithshme Publike GNU ashtu si 
botohe nga "
-"Free\n"
-"Software Foundation; versioni 2 i kësaj License, ose (sipas dëshirës 
suaj)\n"
-"çfarëdo version i mëvonshëm.\n"
+"Ky program është software i lirë; mund ta rishpërndani dhe/ose ndryshoni 
atë\n"
+"sipas kushteve të Lejes së Përgjithshme Publike GNU ashtu si botohet nga 
Free\n"
+"Software Foundation; versioni 2 i kësaj Lejeje, ose (sipas dëshirë

[Xfce4-commits] l10n: Updates to Albanian (sq) translation

2009-09-25 Thread Transifex
Updating branch refs/heads/master
 to 9e5075fb9163272c88086d9bc018faaa1643f77b (commit)
   from b2d1ebf10aaaf35db15a330154a062e3d3ac6999 (commit)

commit 9e5075fb9163272c88086d9bc018faaa1643f77b
Author: Besnik Bleta 
Date:   Fri Sep 25 13:30:51 2009 +

l10n: Updates to Albanian (sq) translation

Transmitted-via: Transifex (translations.xfce.org)

 po/sq.po |  175 ++
 1 files changed, 17 insertions(+), 158 deletions(-)

diff --git a/po/sq.po b/po/sq.po
index 8100149..3ac5ac3 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -1,9 +1,13 @@
+# Albanian translation of the thunar package.
+# This file is distributed under the same license as the thunar package.
+# Besnik Bleta , 2007-2009.
+#
 msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2009-01-26 02:17+0100\n"
-"PO-Revision-Date: 2008-11-11 01:39+0200\n"
+"PO-Revision-Date: 2009-09-25 16:38+0200\n"
 "Last-Translator: Besnik Bleta \n"
 "Language-Team: Albanian \n"
 "MIME-Version: 1.0\n"
@@ -57,8 +61,7 @@ msgid ""
 "Try %s --help to see a full list of available command line options.\n"
 msgstr ""
 "%s: %s\n"
-"Provoni %s --help për të parë një listë të plotë të mundësive të 
passhme për "
-"rresht urdhërash.\n"
+"Provoni %s --help për të parë një listë të plotë të mundësive të 
passhme për rresht urdhërash.\n"
 
 #: ../settings-dialogs/workspace-settings.c:73
 #: ../settings-dialogs/workspace-settings.c:88
@@ -111,7 +114,7 @@ msgstr "  "
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:2
 msgid "Box move and resize"
-msgstr ""
+msgstr "Lëvizje dhe ripërmasim kutie"
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:3
 msgid "Button layout"
@@ -278,9 +281,8 @@ msgid "The action to perform when the title-bar is 
double-clicked"
 msgstr "Veprim për t'u bërë kur dyklikohet te shtyllë titulli"
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:45
-#, fuzzy
 msgid "The window title cannot be removed"
-msgstr "Titulli i dritares, nuk mund të hiqet"
+msgstr "Titulli i dritares nuk mund të hiqet"
 
 #: ../settings-dialogs/xfwm4-dialog.glade.h:46
 msgid "Title"
@@ -616,12 +618,8 @@ msgid "Reset to Defaults"
 msgstr "Riktheji te Parazgjedhjet"
 
 #: ../settings-dialogs/xfwm4-settings.c:1843
-msgid ""
-"This will reset all shortcuts to their default values. Do you really want to "
-"do this?"
-msgstr ""
-"Kjo do të rikthejë tërë shkurtoret te vlerat e tyre parazgjedhje. Doni "
-"vërtet të bëhet kjo?"
+msgid "This will reset all shortcuts to their default values. Do you really 
want to do this?"
+msgstr "Kjo do të rikthejë tërë shkurtoret te vlerat e tyre parazgjedhje. 
Doni vërtet të bëhet kjo?"
 
 #: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:1
 msgid "Opaque"
@@ -705,9 +703,7 @@ msgstr "Patejdukshmëri dritaresh gjatë _ripërmasimesh:"
 
 #: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:22
 msgid "Restore original _size of maximized windows when moving"
-msgstr ""
-"Kur lëvizen, rikthe _madhësinë origjinale të dritareve të zmadhuara në "
-"maksimum"
+msgstr "Kur lëvizen, rikthe _madhësinë origjinale të dritareve të 
zmadhuara në maksimum"
 
 #: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:23
 msgid "Show shadows under _dock windows"
@@ -742,7 +738,6 @@ msgid "Use _edge resistance instead of window snapping"
 msgstr "Përdor më mirë qëndresë _skajesh se sa përlarje dritaresh"
 
 #: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:31
-#, fuzzy
 msgid "Use the _mouse wheel on the desktop to switch workspaces"
 msgstr "Këmbe hapësira pune duke përdorur në desktop rrotëzën e _miut"
 
@@ -756,9 +751,7 @@ msgstr "Mbështill hapësira pune në varësi të _skemës 
aktuale për desktopi
 
 #: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:35
 msgid "Wrap workspaces when the _first or the last workspace is reached"
-msgstr ""
-"Mbështill hapësira pune kur mbërrihet te hapësira e _parë apo e fundit e 
"
-"punës"
+msgstr "Mbështill hapësira pune kur mbërrihet te hapësira e _parë apo e 
fundit e punës"
 
 #: ../settings-dialogs/xfwm4-tweaks-dialog.glade.h:36
 msgid "_Accessibility"
@@ -825,10 +818,8 @@ msgid "Change workspace name"
 msgstr "Ndryshoni emër hapësire pune"
 
 #: ../settings-dialogs/xfwm4-workspace-dialog.glade.h:4
-msgid ""
-"Margins are areas on the edges of the screen where no window will be placed"
-msgstr ""
-"Mënjanat janë zona në skajet e ekranit në të cilat nuk do të vendoset 
dritare"
+msgid "Margins are areas on the edges of the screen where no window will be 
placed"
+msgstr "Mënjanat janë zona në skajet e ekranit në të cilat nuk do të 
vendoset dritare"
 
 #: ../settings-dialogs/xfwm4-workspace-dialog.glade.h:7
 msgid "_Name:"
@@ -954,8 +945,7 @@ msgstr "%s: Nuk siguron dot ngjyrë %s\n"
 #: ../src/settings.c:275
 #, c-format
 msgid "%s: Cannot allocate color: GValue for color is not of type STRING"
-msgstr ""
-"%s: Nuk siguron dot ngjyrë

[Xfce4-commits] l10n: Updates to Albanian (sq) translation

2009-09-25 Thread Transifex
Updating branch refs/heads/master
 to 02526c1d84e0e4290a95d679ee58c97862c568a7 (commit)
   from 0d652328dc82914732f74490a9f09dc8c88019f2 (commit)

commit 02526c1d84e0e4290a95d679ee58c97862c568a7
Author: Besnik Bleta 
Date:   Fri Sep 25 13:26:36 2009 +

l10n: Updates to Albanian (sq) translation

Transmitted-via: Transifex (translations.xfce.org)

 po/sq.po |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/po/sq.po b/po/sq.po
index 06a8bbf..d03eab4 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -1,7 +1,7 @@
 # Albanian translation of the thunar package.
 # Copyright (C) 2004-2007 Benedikt Meurer.
 # This file is distributed under the same license as the thunar package.
-# Besnik Bleta , 2007.
+# Besnik Bleta , 2007-2009.
 #
 msgid ""
 msgstr ""
@@ -219,7 +219,7 @@ msgstr "Po krijohen drejtori..."
 
 #: ../thunar/thunar-application.c:1690
 msgid "Remove all files and folders from the Trash?"
-msgstr "Të heq tërë kartelat dhe dosjet prej Hedhurinave?"
+msgstr "Të heqë tërë kartelat dhe dosjet prej Hedhurinave?"
 
 #. append the "Empty Trash" menu action
 #. add the "Empty Trash" menu item
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits