[Xfce4-commits] Parse localised and non-standard folder names

2010-11-19 Thread Christian Dywan
Updating branch refs/heads/master
 to 01245025647998a48ad63a76675465f24f8f44c4 (commit)
   from 484476bbd07e37c9c9fc29403b4ac610e430f7c9 (commit)

commit 01245025647998a48ad63a76675465f24f8f44c4
Author: Christian Dywan 
Date:   Fri Nov 19 23:11:18 2010 +0100

Parse localised and non-standard folder names

MailFolder defines a special folder. The supported folder types
are listed in localized_folders, with the standard name/ role,
stock_id and icon plus a list of localised names.

The name lists currently work for US, British and German GMail
as well as other localised German providers.

verify_folders() is necessary to iterate over all folders in
the case where localised folders were not found.

 postler/postler-accounts.vala |   69 +
 postler/postler-folders.vala  |  114 +
 2 files changed, 127 insertions(+), 56 deletions(-)

diff --git a/postler/postler-accounts.vala b/postler/postler-accounts.vala
index fc6842a..a0eed96 100644
--- a/postler/postler-accounts.vala
+++ b/postler/postler-accounts.vala
@@ -16,6 +16,52 @@ namespace Postler {
 SEARCH
 }
 
+enum FolderType {
+SENT,
+DRAFTS,
+QUEUE,
+TRASH,
+ARCHIVE,
+MAX
+}
+public struct MailFolder {
+public string? role;
+public string? stock_id;
+public string label;
+string[]? localized;
+int n_localized;
+}
+
+const string[] sent_folders = {
+"[GMail]~-Sent", "[Google Mail]~-Sent",
+"[Google Mail]~-Gesendet", "Gesendet"
+};
+const string[] drafts_folders = {
+"[GMail]~-Drafts", "[Google Mail]~-Drafts",
+"[Google Mail]~-Entw&APw-rfe", "Entwurf"
+};
+const string[] queue_folders = {
+"Postausgang"
+};
+const string[] trash_folders = {
+"[GMail]~-Trash", "[Google Mail]~-Trash",
+"[Google Mail]~-Papierkorb", "Papierkorb"
+};
+const string[] archive_folders = {
+"Archive"
+};
+
+/* The length values must be in the array to work around Vala mistakenly
+   optimizing the value away when using arrays indirectly with MailFolder 
*/
+const MailFolder[] localized_folders = {
+{ "Sent", STOCK_SENT_MAIL, N_("Sent"), sent_folders, 
sent_folders.length },
+{ "Drafts", null, N_("Drafts"), drafts_folders, drafts_folders.length 
},
+{ "Queue", STOCK_OUTBOX, N_("Outbox"), queue_folders, 
queue_folders.length },
+{ "Trash", STOCK_USER_TRASH, N_("Trash"), trash_folders, 
trash_folders.length },
+{ "Archive", STOCK_USER_TRASH, N_("Archive"), archive_folders, 
archive_folders.length }
+};
+const MailFolder generic_folder = { null, Gtk.STOCK_DIRECTORY, null, null 
};
+
 public class AccountInfo : GLib.Object {
 public string name;
 public AccountType type;
@@ -32,6 +78,29 @@ namespace Postler {
 public string reply;
 public string organization;
 public string hide;
+public string[]? folders = { null, null, null, null, null };
+
+public unowned MailFolder get_localized_folder (string folder_name) {
+for (int type = 0; type < FolderType.MAX; type++)
+if (this.folders[type] == folder_name)
+return localized_folders[type];
+for (int type = 0; type < FolderType.MAX; type++) {
+if (this.folders[type] == null
+ && folder_name in localized_folders[type].localized) {
+this.folders[type] = folder_name;
+this.hide += ("," + localized_folders[type].role);
+return localized_folders[type];
+}
+}
+return generic_folder;
+}
+
+public delegate void MailFolderCallback (int type, MailFolder folder);
+public void verify_folders (MailFolderCallback callback) {
+for (int type = 0; type < FolderType.MAX; type++)
+if (this.folders[type] == null)
+callback (type, localized_folders[type]);
+}
 }
 }
 
diff --git a/postler/postler-folders.vala b/postler/postler-folders.vala
index 9fed53a..bfaf051 100644
--- a/postler/postler-folders.vala
+++ b/postler/postler-folders.vala
@@ -9,12 +9,6 @@
  See the file COPYING for the full license text.
 */
 
-struct Postler.MailFolder {
-public string name;
-public string stock_id;
-public string localized;
-}
-
 public class Postler.Folders : Gtk.TreeView {
 Accounts accounts;
 Gtk.TreeStore store;
@@ -70,14 +64,6 @@ public class Postler.Folders : Gtk.TreeView {
 GLib.Idle.add (populate);
 }
 
-const MailFolder[] localized_folders = {
-{ "Sent", STOCK_SENT_MAIL, N_("Sent") },
-{ "Drafts", null, N_("Drafts") },
-{ "Queue", STOCK_OUTBOX, N_("Outbox") },
-{ "Trash", STOCK_USER_TRASH, N

[Xfce4-commits] Use the correct trash according to the AccountInfo

2010-11-19 Thread Christian Dywan
Updating branch refs/heads/master
 to e52f920f4e16310b3aa24d9f0e0bb5895b882d34 (commit)
   from 01245025647998a48ad63a76675465f24f8f44c4 (commit)

commit e52f920f4e16310b3aa24d9f0e0bb5895b882d34
Author: Christian Dywan 
Date:   Fri Nov 19 23:30:46 2010 +0100

Use the correct trash according to the AccountInfo

AccountInfo.get_trash() determines what the trash folder is.

Messages.populate() requires passing the trash folder now so
that it can use the correct trash when deleting.

Fixes: https://bugs.launchpad.net/postler/+bug/671693

 postler/postler-accounts.vala |5 +
 postler/postler-bureau.vala   |2 +-
 postler/postler-folders.vala  |   18 --
 postler/postler-messages.vala |   11 +++
 4 files changed, 25 insertions(+), 11 deletions(-)

diff --git a/postler/postler-accounts.vala b/postler/postler-accounts.vala
index a0eed96..0504e33 100644
--- a/postler/postler-accounts.vala
+++ b/postler/postler-accounts.vala
@@ -80,6 +80,11 @@ namespace Postler {
 public string hide;
 public string[]? folders = { null, null, null, null, null };
 
+public unowned string get_trash ()
+requires (folders[FolderType.TRASH] != null) {
+return folders[FolderType.TRASH];
+}
+
 public unowned MailFolder get_localized_folder (string folder_name) {
 for (int type = 0; type < FolderType.MAX; type++)
 if (this.folders[type] == folder_name)
diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index 22de8dc..538c8dd 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -337,7 +337,7 @@ public class Postler.Bureau : Gtk.Window {
 
 void action_hide_read () {
 messages.hide_read = !messages.hide_read;
-messages.populate (folders.selected_location);
+messages.populate (messages.selected_location, messages.trash_folder);
 }
 
 /* TODO: Send outstanding outgoing mail */
diff --git a/postler/postler-folders.vala b/postler/postler-folders.vala
index bfaf051..7d3694d 100644
--- a/postler/postler-folders.vala
+++ b/postler/postler-folders.vala
@@ -278,11 +278,13 @@ public class Postler.Folders : Gtk.TreeView {
 void select_folder (Gtk.TreeIter iter)
 requires (messages != null) {
 string location;
-store.get (iter, Columns.LOCATION, out location);
+AccountInfo account_info;
+store.get (iter, Columns.LOCATION, out location,
+ Columns.INFO, out account_info);
 notify_property ("selected-location");
 
 if (location != null) {
-messages.populate (location);
+messages.populate (location, account_info.get_trash ());
 messages.grab_focus ();
 }
 else
@@ -302,7 +304,9 @@ public class Postler.Folders : Gtk.TreeView {
 return;
 
 string location;
-store.get (iter, Columns.LOCATION, out location);
+AccountInfo account_info;
+store.get (iter, Columns.LOCATION, out location,
+ Columns.INFO, out account_info);
 try {
 string path = location + "/cur/";
 var stream = new DataInputStream (mailbox_archive.read (null));
@@ -327,7 +331,7 @@ public class Postler.Folders : Gtk.TreeView {
 FileUtils.set_contents (filename, body.str, -1);
 FileUtils.chmod (filename, 0700);
 }
-messages.populate (location);
+messages.populate (location, account_info.get_trash ());
 } catch (GLib.Error error) {
 GLib.critical (_("Failed to empty folder \"%s\": %s"),
 location, error.message);
@@ -369,9 +373,11 @@ public class Postler.Folders : Gtk.TreeView {
  Gtk.TreeIter iter;
  if (get_selection ().get_selected (null, out iter)) {
  string? location;
- store.get (iter, Columns.LOCATION, out location);
+ AccountInfo account_info;
+ store.get (iter, Columns.LOCATION, out location,
+  Columns.INFO, out account_info);
  var bureau = new Bureau ();
- bureau.messages.populate (location);
+ bureau.messages.populate (location, account_info.get_trash 
());
  bureau.messages.grab_focus ();
  bureau.show ();
  }
diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index 23b0036..6d7ca38 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -21,6 +21,7 @@ public class Postler.Messages : Gtk.TreeView {
 public bool newest_at_the_bottom { get; set; default = false; }
 
 public string? location { get; set; }
+public string trash_folder = "";
 public string? selected_location { get; set; }
 
 string to_or_from;
@@ -467,7 +468,7 @@ public 

[Xfce4-commits] Don't use icons of blank pages for web app windows

2010-11-19 Thread Christian Dywan
Updating branch refs/heads/master
 to 2f3a016b21a43877f3b1989c000830ab364fd4e6 (commit)
   from cb83843a28b5cd3adc80596a8443dcf00c250179 (commit)

commit 2f3a016b21a43877f3b1989c000830ab364fd4e6
Author: Christian Dywan 
Date:   Fri Nov 19 22:50:55 2010 +0100

Don't use icons of blank pages for web app windows

 midori/main.c |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/midori/main.c b/midori/main.c
index 9e5a4ad..91518e6 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -1354,6 +1354,8 @@ midori_web_app_browser_notify_load_status_cb 
(MidoriBrowser* browser,
 {
 GtkWidget* view = midori_browser_get_current_tab (browser);
 GdkPixbuf* icon = midori_view_get_icon (MIDORI_VIEW (view));
+if (midori_view_is_blank (MIDORI_VIEW (view)))
+icon = NULL;
 gtk_window_set_icon (GTK_WINDOW (browser), icon);
 }
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Do middle click and menu on tabs on button press

2010-11-19 Thread Christian Dywan
Updating branch refs/heads/master
 to 70de71d6a3f7592d70c4674c95b7d85cce1e1cf8 (commit)
   from 2f3a016b21a43877f3b1989c000830ab364fd4e6 (commit)

commit 70de71d6a3f7592d70c4674c95b7d85cce1e1cf8
Author: Christian Dywan 
Date:   Fri Nov 19 22:51:50 2010 +0100

Do middle click and menu on tabs on button press

Doing close on middle click on a tab can cause the new tab
to be immediately closed because the mouse pointer happens
to be released under the tab after it appears.

 midori/midori-view.c |   10 +-
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 55ef7c6..39172e2 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -4348,9 +4348,9 @@ midori_view_get_tab_menu (MidoriView* view)
 }
 
 static gboolean
-midori_view_tab_label_button_release_event (GtkWidget*  tab_label,
-GdkEventButton* event,
-GtkWidget*  widget)
+midori_view_tab_label_button_press_event (GtkWidget*  tab_label,
+  GdkEventButton* event,
+  GtkWidget*  widget)
 {
 if (event->button == 2)
 {
@@ -4581,8 +4581,8 @@ midori_view_get_proxy_tab_label (MidoriView* view)
 if (!view->close_buttons_on_tabs)
 gtk_widget_hide (view->tab_close);
 
-g_signal_connect (event_box, "button-release-event",
-G_CALLBACK (midori_view_tab_label_button_release_event), view);
+g_signal_connect (event_box, "button-press-event",
+G_CALLBACK (midori_view_tab_label_button_press_event), view);
 g_signal_connect (view->tab_close, "style-set",
 G_CALLBACK (midori_view_tab_icon_style_set_cb), NULL);
 g_signal_connect (view->tab_close, "clicked",
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Spanish (Castilian) (es) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to 9d2c76e0f80b3a55363289f22c4ec674117b2077 (commit)
   from 242e67de92f3eec749670deb39eb39a5929d587c (commit)

commit 9d2c76e0f80b3a55363289f22c4ec674117b2077
Author: Javier Sánchez Reinosa 
Date:   Fri Nov 19 21:00:17 2010 +0100

l10n: Updated Spanish (Castilian) (es) translation to 100%

New status: 678 messages complete with 0 fuzzies and 0 untranslated.

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

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

diff --git a/po/es.po b/po/es.po
index 77ff323..3d30269 100644
--- a/po/es.po
+++ b/po/es.po
@@ -560,7 +560,7 @@ msgid "A destination directory must be specified"
 msgstr "Al menos un directorio de destino debe ser especificado"
 
 #: ../thunar/thunar-dbus-service.c:1222
-#, fuzzy, c-format
+#, c-format
 msgid "At least one filename must be specified"
 msgstr "Al menos un nombre de archivo debe ser especificado"
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Revert "Instantly emit a change event on the parent folder in the delete job."

2010-11-19 Thread Jannis Pohlmann
Updating branch refs/heads/master
 to 9a288cc37f260b5bbe55e8bace3af3ed3d0eebca (commit)
   from fd1d1a0c3a230f9f66c00eb49494dbff929db62c (commit)

commit 9a288cc37f260b5bbe55e8bace3af3ed3d0eebca
Author: Jannis Pohlmann 
Date:   Fri Nov 19 16:52:32 2010 +0100

Revert "Instantly emit a change event on the parent folder in the delete 
job."

This reverts commit 68924ba2595fe733b7282d7b35795d4bd767c99c.

The change introduced a crasher when too many files were deleted at
once. Too many folder reloads are not good. Perhaps we need a
removed_files closure in addition to the new_files closure.

 thunar/thunar-io-jobs.c |   22 --
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/thunar/thunar-io-jobs.c b/thunar/thunar-io-jobs.c
index 6caaa02..a6a43a8 100644
--- a/thunar/thunar-io-jobs.c
+++ b/thunar/thunar-io-jobs.c
@@ -25,7 +25,6 @@
 #include 
 
 #include 
-#include 
 #include 
 #include 
 #include 
@@ -367,10 +366,8 @@ _thunar_io_jobs_unlink (ThunarJob   *job,
 GError **error)
 {
   ThunarJobResponse response;
-  ThunarFile   *parent_file;
   GFileInfo*info;
   GError   *err = NULL;
-  GFile*parent;
   GList*file_list;
   GList*lp;
   gchar*base_name;
@@ -458,25 +455,6 @@ again:
   if (response == THUNAR_JOB_RESPONSE_RETRY)
 goto again;
 }
-  else
-{
-  /* determine the parent folder of the file if there is any */
-  parent = g_file_get_parent (lp->data);
-  if (parent != NULL)
-{
-  /* obtain the thunar file for this folder from the cache */
-  parent_file = thunar_file_cache_lookup (parent);
-  if (parent_file != NULL)
-{
-  /* Feed a change event so that the delete event is 
-   * picked up immediately */
-  thunar_file_monitor_file_changed (parent_file);
-}
-
-  /* release the parent */
-  g_object_unref (parent);
-}
-}
 }
 
   /* release the file list */
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Revert "Instantly emit a change event on the parent folder in the trash job."

2010-11-19 Thread Jannis Pohlmann
Updating branch refs/heads/master
 to fd1d1a0c3a230f9f66c00eb49494dbff929db62c (commit)
   from 043c6301aa0285a313db159d5366e66fd77ced0a (commit)

commit fd1d1a0c3a230f9f66c00eb49494dbff929db62c
Author: Jannis Pohlmann 
Date:   Fri Nov 19 16:51:43 2010 +0100

Revert "Instantly emit a change event on the parent folder in the trash 
job."

This reverts commit 043c6301aa0285a313db159d5366e66fd77ced0a.

The change introduced a crasher when too many files were trashed at
once. Too many folder reloads are not good. Perhaps we need
removed_files closure in addition to the new_files closure.

 thunar/thunar-io-jobs.c |   29 -
 1 files changed, 4 insertions(+), 25 deletions(-)

diff --git a/thunar/thunar-io-jobs.c b/thunar/thunar-io-jobs.c
index 4799807..6caaa02 100644
--- a/thunar/thunar-io-jobs.c
+++ b/thunar/thunar-io-jobs.c
@@ -657,11 +657,9 @@ _thunar_io_jobs_trash (ThunarJob   *job,
GValueArray *param_values,
GError **error)
 {
-  ThunarFile *parent_file;
-  GError *err = NULL;
-  GFile  *parent;
-  GList  *file_list;
-  GList  *lp;
+  GError *err = NULL;
+  GList  *file_list;
+  GList  *lp;
 
   _thunar_return_val_if_fail (THUNAR_IS_JOB (job), FALSE);
   _thunar_return_val_if_fail (param_values != NULL, FALSE);
@@ -676,26 +674,7 @@ _thunar_io_jobs_trash (ThunarJob   *job,
   for (lp = file_list; err == NULL && lp != NULL; lp = lp->next)
 {
   _thunar_assert (G_IS_FILE (lp->data));
-  
-  if (g_file_trash (lp->data, exo_job_get_cancellable (EXO_JOB (job)), 
&err))
-{
-  /* determine the parent folder of the file if there is any */
-  parent = g_file_get_parent (lp->data);
-  if (parent != NULL)
-{
-  /* obtain the thunar file for this folder from the cache */
-  parent_file = thunar_file_cache_lookup (parent);
-  if (parent_file != NULL)
-{
-  /* Feed a change event so that the delete event is 
-   * picked up immediately */
-  thunar_file_monitor_file_changed (parent_file);
-}
-
-  /* release the parent */
-  g_object_unref (parent);
-}
-}
+  g_file_trash (lp->data, exo_job_get_cancellable (EXO_JOB (job)), &err);
 }
 
   if (err != NULL)
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to a6a4324c7e87f9c3c7c2bdcd68003b24676e89ec (commit)
   from 9eda55b6762a15ef519b0cad380c3625a5ebeb1f (commit)

commit a6a4324c7e87f9c3c7c2bdcd68003b24676e89ec
Author: Sergio Marques 
Date:   Fri Nov 19 16:36:36 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 27 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   21 ++---
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 3fb66bd..4893bb5 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -13,8 +13,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Poedit-Language: Portuguese\n"
 "X-Poedit-Country: Portugal\n"
+"X-Poedit-Language: Portuguese\n"
 
 #: ../panel-plugin/xfmedia-remote-plugin.c:245
 msgid "Choose playlist to load"
@@ -30,7 +30,7 @@ msgstr "Falha ao gravar lista de reprodução"
 
 #: ../panel-plugin/xfmedia-remote-plugin.c:370
 msgid "Please wait until the previous add operation completes."
-msgstr "Por favor aguarde até que a anterior operação termine."
+msgstr "Por favor, aguarde até que a operação anterior termine."
 
 #: ../panel-plugin/xfmedia-remote-plugin.c:374
 msgid "Add track(s) to playlist"
@@ -40,7 +40,7 @@ msgstr "Adicionar faixa(s) à lista de reprodução"
 #: ../panel-plugin/xfmedia-remote-plugin.c:509
 #: ../panel-plugin/xfmedia-remote-plugin.c:601
 msgid "_Play"
-msgstr "R_eproduzir"
+msgstr "Re_produzir"
 
 #. Remove
 #: ../panel-plugin/xfmedia-remote-plugin.c:521
@@ -70,12 +70,12 @@ msgstr "_Parar"
 #. Next
 #: ../panel-plugin/xfmedia-remote-plugin.c:634
 msgid "_Next"
-msgstr "Se_guinte"
+msgstr "Segui_nte"
 
 #. Playlist
 #: ../panel-plugin/xfmedia-remote-plugin.c:651
 msgid "P_laylist"
-msgstr "Lista de repr_odução"
+msgstr "_Lista de reprodução"
 
 #: ../panel-plugin/xfmedia-remote-plugin.c:672
 msgid "Playlist"
@@ -94,7 +94,7 @@ msgstr "_Gravar..."
 #. Clear Playlist
 #: ../panel-plugin/xfmedia-remote-plugin.c:701
 msgid "_Clear"
-msgstr "_Limpar"
+msgstr "Li_mpar"
 
 #. Add Track
 #: ../panel-plugin/xfmedia-remote-plugin.c:712
@@ -117,7 +117,7 @@ msgstr "Iniciar _Xfmedia"
 #: ../panel-plugin/xfmedia-remote-plugin.c:1292
 #: ../panel-plugin/xfmedia-remote.desktop.in.in.h:2
 msgid "Xfmedia Remote"
-msgstr "Xfmedia Remoto"
+msgstr "Xfmedia remoto"
 
 #: ../panel-plugin/xfmedia-remote-plugin.c:942
 msgid "Stopped"
@@ -130,7 +130,7 @@ msgstr "Nenhuma instância Xfmedia em execução"
 #: ../panel-plugin/xfmedia-remote-plugin.c:1117
 #: ../panel-plugin/xfmedia-remote-plugin.c:1119
 msgid "Popup menu"
-msgstr "Menu popup"
+msgstr "Menu de alerta"
 
 #: ../panel-plugin/xfmedia-remote-plugin.c:1131
 msgid "Show _playlist"
@@ -138,9 +138,8 @@ msgstr "Mostrar lista de re_produção"
 
 #: ../panel-plugin/xfmedia-remote-plugin.c:1278
 msgid "Xfmedia Remote Properties"
-msgstr "Propriedades de Xfmedia Remoto"
+msgstr "Propriedades de Xfmedia remoto"
 
 #: ../panel-plugin/xfmedia-remote.desktop.in.in.h:1
 msgid "Control Xfmedia music player"
-msgstr "Controlar reprodutor de música Xfmedia"
-
+msgstr "Controlar reprodutor musical Xfmedia"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to 1b2508028b65a659aa1426cddcf961a9208e2b89 (commit)
   from 95081e89d9fb0a5595dac8df419300bbb53eff71 (commit)

commit 1b2508028b65a659aa1426cddcf961a9208e2b89
Author: Sergio Marques 
Date:   Fri Nov 19 16:31:46 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 15 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   21 ++---
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index fd6b03d..720f052 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -2,7 +2,7 @@
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
 # Nuno Miguel , 2007.
-#
+# 
 msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-xmms-plugin\n"
@@ -21,16 +21,16 @@ msgstr "Propriedades"
 
 #: ../panel-plugin/xmms_plugin.c:768
 msgid "Xfce4 XMMS Plugin Options"
-msgstr "Opções do Plugin Xfce4 XMMS"
+msgstr "Opções do \"plug-in\" Xfce4 XMMS"
 
 #. put labels into the left column of our table
 #: ../panel-plugin/xmms_plugin.c:787
 msgid "Font Size"
-msgstr "Tamanho da Fonte"
+msgstr "Tamanho da letra"
 
 #: ../panel-plugin/xmms_plugin.c:788
 msgid "Scroll Speed"
-msgstr "Velocidade de Deslocamento"
+msgstr "Velocidade de deslocamento"
 
 #: ../panel-plugin/xmms_plugin.c:789
 msgid "Scroll Stepwidth"
@@ -38,7 +38,7 @@ msgstr "Deslocar ao longo da largura"
 
 #: ../panel-plugin/xmms_plugin.c:790
 msgid "Scroll Delay"
-msgstr "Atraso de Deslocamento"
+msgstr "Atraso de deslocamento"
 
 #. add check buttons for the scrolled title, progressbar and volume bar
 #: ../panel-plugin/xmms_plugin.c:802
@@ -47,7 +47,7 @@ msgstr "Mostrar título rolante da canção"
 
 #: ../panel-plugin/xmms_plugin.c:803
 msgid "Show track position"
-msgstr "Mostrar posição da pista"
+msgstr "Mostrar posição da faixa"
 
 #: ../panel-plugin/xmms_plugin.c:804
 msgid "Show volume level"
@@ -66,18 +66,17 @@ msgstr "Barra de volume horizontal em painéis verticais "
 #. add check button for "Use BMP" option
 #: ../panel-plugin/xmms_plugin.c:811
 msgid "Use BMP (Beep Media Player)"
-msgstr "Usar BMP (Beep Media Player)"
+msgstr "Utilizar BMP (Beep Media Player)"
 
 #. add check button for quit xmms option
 #: ../panel-plugin/xmms_plugin.c:813
 msgid "Quit XMMS/BMP when plugin terminates"
-msgstr "Sair do XMMS/BMP quando o plugin terminar"
+msgstr "Sair do XMMS/BMP ao fechar o \"plug-in\""
 
 #: ../panel-plugin/xfce4-xmms-plugin.desktop.in.in.h:1
 msgid "XMMS plugin for Xfce 4.4 panel"
-msgstr "Plugin XMMS para painel Xfce 4.4"
+msgstr "\"Plug-in\" de painel XMMS"
 
 #: ../panel-plugin/xfce4-xmms-plugin.desktop.in.in.h:2
 msgid "Xfce4 XMMS Plugin"
-msgstr "Plugin Xfce4 XMMS"
-
+msgstr "\"Plug-in\" Xfce4 XMMS"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to c889744a454620275b6cb8ae89ebeeedd278bf57 (commit)
   from 818efd5fae8d2d919c9cfed241674bfdb274dc72 (commit)

commit c889744a454620275b6cb8ae89ebeeedd278bf57
Author: Sergio Marques 
Date:   Fri Nov 19 16:28:54 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 18 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   23 +++
 1 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 0daabc2..b45342f 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -2,7 +2,7 @@
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
 # Nuno Miguel , 2007.
-#
+# 
 msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-xkb-plugin\n"
@@ -22,15 +22,15 @@ msgid ""
 "\n"
 "See the README file for more information."
 msgstr ""
-"Modificações de configuração XKB estão\n"
-"desligadas do ficheiro config.\n"
+"As modificações na configuração XKB estão\n"
+"inactivas no ficheiro config.\n"
 "\n"
-"Veja o ficheiro README para mais informação."
+"Veja o ficheiro README para mais informações."
 
 #: ../panel-plugin/xkb-settings-dialog.c:434
 #: ../panel-plugin/xkb-plugin.desktop.in.in.h:1
 msgid "Keyboard Layouts"
-msgstr "Disposições de Teclado"
+msgstr "Disposições de teclado"
 
 #: ../panel-plugin/xkb-settings-dialog.c:456
 msgid "Keyboard model:"
@@ -39,7 +39,7 @@ msgstr "Modelo do teclado:"
 #. toggle layout option
 #: ../panel-plugin/xkb-settings-dialog.c:481
 msgid "Change layout option:"
-msgstr "Mudar opção de disposição:"
+msgstr "Alterar disposição:"
 
 #. compose key position option
 #: ../panel-plugin/xkb-settings-dialog.c:506
@@ -49,7 +49,7 @@ msgstr "Definir posição de tecla:"
 #. the actual layouts
 #: ../panel-plugin/xkb-settings-dialog.c:533
 msgid "Keyboard layouts:"
-msgstr "Disposições de teclado"
+msgstr "Disposições de teclado:"
 
 #. ***
 #: ../panel-plugin/xkb-settings-dialog.c:605
@@ -82,15 +82,15 @@ msgstr "por aplicação"
 
 #: ../panel-plugin/xkb-settings-dialog.c:661
 msgid "Keyboard Layouts Plugin"
-msgstr "Plugin de Disposição de Teclado"
+msgstr "\"Plug-in\" de disposição de teclado"
 
 #: ../panel-plugin/xkb-settings-dialog.c:667
 msgid "Allows you to configure and use multiple keyboard layouts."
-msgstr "Permite-lhe configurar e usar diversas disposições de teclado."
+msgstr "Permite-lhe configurar e utilizar diversas disposições de teclado."
 
 #: ../panel-plugin/xkb-settings-dialog.c:671
 msgid "Other plugins available here"
-msgstr "Outros plugins disponíveis aqui"
+msgstr "Outros \"plug-ins\" aqui"
 
 #: ../panel-plugin/xkb-settings-dialog.c:720
 msgid "Add layout"
@@ -98,5 +98,4 @@ msgstr "Adicionar disposição"
 
 #: ../panel-plugin/xkb-plugin.desktop.in.in.h:2
 msgid "Keyboard layouts setup and switch plugin"
-msgstr "Plugin de configuração da disposição do teclado"
-
+msgstr "\"Plug-in\" de configuração da disposição do teclado"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Instantly emit a change event on the parent folder in the trash job.

2010-11-19 Thread Jannis Pohlmann
Updating branch refs/heads/master
 to 043c6301aa0285a313db159d5366e66fd77ced0a (commit)
   from 68924ba2595fe733b7282d7b35795d4bd767c99c (commit)

commit 043c6301aa0285a313db159d5366e66fd77ced0a
Author: Jannis Pohlmann 
Date:   Fri Nov 19 16:25:44 2010 +0100

Instantly emit a change event on the parent folder in the trash job.

This will make trashing files feel much more responsive.

 thunar/thunar-io-jobs.c |   29 +
 1 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/thunar/thunar-io-jobs.c b/thunar/thunar-io-jobs.c
index 6caaa02..4799807 100644
--- a/thunar/thunar-io-jobs.c
+++ b/thunar/thunar-io-jobs.c
@@ -657,9 +657,11 @@ _thunar_io_jobs_trash (ThunarJob   *job,
GValueArray *param_values,
GError **error)
 {
-  GError *err = NULL;
-  GList  *file_list;
-  GList  *lp;
+  ThunarFile *parent_file;
+  GError *err = NULL;
+  GFile  *parent;
+  GList  *file_list;
+  GList  *lp;
 
   _thunar_return_val_if_fail (THUNAR_IS_JOB (job), FALSE);
   _thunar_return_val_if_fail (param_values != NULL, FALSE);
@@ -674,7 +676,26 @@ _thunar_io_jobs_trash (ThunarJob   *job,
   for (lp = file_list; err == NULL && lp != NULL; lp = lp->next)
 {
   _thunar_assert (G_IS_FILE (lp->data));
-  g_file_trash (lp->data, exo_job_get_cancellable (EXO_JOB (job)), &err);
+  
+  if (g_file_trash (lp->data, exo_job_get_cancellable (EXO_JOB (job)), 
&err))
+{
+  /* determine the parent folder of the file if there is any */
+  parent = g_file_get_parent (lp->data);
+  if (parent != NULL)
+{
+  /* obtain the thunar file for this folder from the cache */
+  parent_file = thunar_file_cache_lookup (parent);
+  if (parent_file != NULL)
+{
+  /* Feed a change event so that the delete event is 
+   * picked up immediately */
+  thunar_file_monitor_file_changed (parent_file);
+}
+
+  /* release the parent */
+  g_object_unref (parent);
+}
+}
 }
 
   if (err != NULL)
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to c2210e98231a8de0612990944c26bc5924e964b1 (commit)
   from 73271ae56a795c5f77a77cbea789bafbbc4f82cb (commit)

commit c2210e98231a8de0612990944c26bc5924e964b1
Author: Sergio Marques 
Date:   Fri Nov 19 16:25:10 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 14 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   32 +++-
 1 files changed, 15 insertions(+), 17 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 429ce2f..acabb38 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -2,12 +2,12 @@
 # Copyright (C) 2006 Adriano Winter Bess
 # This file is distributed under the same license as the xfce4-xfapplet-plugin 
package.
 # Nuno Miguel , 2007.
-#
+# 
 msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-xfapplet-plugin 0.1.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-09-10 21:29+0200\n"
+"POT-Creation-Date: 2006-09-10 21:12+0200\n"
 "PO-Revision-Date: 2007-08-24 14:46+0100\n"
 "Last-Translator: Nuno Miguel \n"
 "Language-Team: \n"
@@ -17,47 +17,46 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
 #. creation of the dialog
-#: ../panel-plugin/chooser.c:444
-#: ../panel-plugin/xfapplet.desktop.in.in.h:2
+#: ../panel-plugin/chooser.c:444 ../panel-plugin/xfapplet.desktop.in.in.h:2
 msgid "XfApplet"
 msgstr "XfApplet"
 
 #: ../panel-plugin/chooser.c:465
 msgid "Choose an applet"
-msgstr "Escolha uma applet"
+msgstr "Escolha uma \"applet\""
 
 #: ../panel-plugin/chooser.c:474
 msgid "Choose an applet from the list. If you have already chosen an applet 
previously, it will be substituted by the one you choose."
-msgstr "Escolha uma applet da lista. Se já tinha escolhido uma applet 
anteriormente, será substituída pela que escolher."
+msgstr "Escolha uma \"applet\" da lista. Se já tinha escolhido uma \"applet\" 
anteriormente, será substituída pela que escolher."
 
 #: ../panel-plugin/chooser.c:486
 msgid "Available applets"
-msgstr "Applets disponíveis"
+msgstr "\"Applets\" disponíveis"
 
 #: ../panel-plugin/xfapplet.c:148
 #, c-format
 msgid "'%s' has quit unexpectedly."
-msgstr "'%s' terminou inesperadamente."
+msgstr "\"%s\" terminou inesperadamente."
 
 #: ../panel-plugin/xfapplet.c:151
 msgid "If you don't reload the applet, XfApplet plugin will go back to its 
initial empty state."
-msgstr "Se não recarregar a applet, o XfApplet irá retornar ao seu estado 
vazio inicial."
+msgstr "Se não actualizar a \"applet\", o XfApplet irá retornar ao seu estado 
inicial."
 
 #: ../panel-plugin/xfapplet.c:153
 msgid "Don't Reload"
-msgstr "Não Recarregar"
+msgstr "Não actualizar"
 
 #: ../panel-plugin/xfapplet.c:154
 msgid "Reload"
-msgstr "Recarregar"
+msgstr "Actualizar"
 
 #: ../panel-plugin/xfapplet.c:477
 msgid "Display Gnome applets on the Xfce4 Panel"
-msgstr "Mostrar applets do Gnome no painel do Xfce4"
+msgstr "Mostrar \"applets\" Gnome no painel do Xfce4"
 
 #: ../panel-plugin/xfapplet.c:480
 msgid "Author/Maintainer"
-msgstr "Autor/Mantenedor"
+msgstr "Autor/Manutenção"
 
 #: ../panel-plugin/xfapplet.c:484
 #, c-format
@@ -67,13 +66,12 @@ msgstr "Tradutor (%s)"
 #: ../panel-plugin/xfapplet.c:574
 #, c-format
 msgid "'%s' could not be loaded."
-msgstr "'%s' não pode ser carregada."
+msgstr "\"%s\" não pôde ser carregada."
 
 #: ../panel-plugin/xfapplet.c:577
 msgid "An internal error occurred and the applet could not be loaded."
-msgstr "Ocorreu um erro interno e a applet não pode ser carregada."
+msgstr "Ocorreu um erro interno e a \"applet\" não pôde ser carregada."
 
 #: ../panel-plugin/xfapplet.desktop.in.in.h:1
 msgid "Display Gnome applets in the panel"
-msgstr "Mostrar applets do Gnome no painel"
-
+msgstr "Mostrar \"applets\" do Gnome no painel"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to 7ecc1e36ef597ee9918735e63a250c9c907f06fe (commit)
   from f3b5e0e1b14a744e7d23ac10be114614f16292c6 (commit)

commit 7ecc1e36ef597ee9918735e63a250c9c907f06fe
Author: Sergio Marques 
Date:   Fri Nov 19 16:21:32 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 12 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   19 +--
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 398a38f..a400da5 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -2,7 +2,7 @@
 # Copyright (C) 2008 xfce4-wmdock-plugin's COPYRIGHT HOLDER
 # This file is distributed under the same license as the xfce4-wmdock-plugin 
package.
 # Sérgio Marques , 2009.
-#
+# 
 msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-wmdock-plugin 0.3.2\n"
@@ -21,11 +21,11 @@ msgstr ""
 #: panel-plugin/wmdock.c:196
 #, c-format
 msgid "Do you want remove the dockapp \"%s\"?"
-msgstr "Deseja remover a aplicação dock \"%s\"?"
+msgstr "Pretende remover a aplicação \"%s\"?"
 
 #: panel-plugin/wmdock.c:398
 msgid "No dockapp is running!"
-msgstr "Nenhuma aplicação dock em execução!"
+msgstr "Nenhuma aplicação em execução!"
 
 #: panel-plugin/wmdock.c:858
 #, c-format
@@ -38,7 +38,7 @@ msgstr "WMdock"
 
 #: panel-plugin/wmdock.c:1151
 msgid "Remove dockapp"
-msgstr "Remover aplicação dock"
+msgstr "Remover aplicação"
 
 #: panel-plugin/wmdock.c:1167
 msgid "General settings"
@@ -46,11 +46,11 @@ msgstr "Definições gerais"
 
 #: panel-plugin/wmdock.c:1168
 msgid "Dockapp detection"
-msgstr "Detecção de aplicação dock"
+msgstr "Detecção de aplicação"
 
 #: panel-plugin/wmdock.c:1216
 msgid "Select dockapp to configure:"
-msgstr "Seleccione a aplicação dock a configurar:"
+msgstr "Seleccione a aplicação a configurar:"
 
 #: panel-plugin/wmdock.c:1225
 msgid "Shell command:"
@@ -65,14 +65,13 @@ msgid ""
 "Display a separate WMdock properties\n"
 "button in the panel."
 msgstr ""
-"Apresentar um botão de propriedades\n"
-"WMdock no painel."
+"Apresentar no painel o botão\n"
+"das propriedades WMdock."
 
 #: panel-plugin/wmdock.c:1238
 msgid ""
 "Add only dockapps which start with\n"
 "wm* in the name."
 msgstr ""
-"Apenas adicionar aplicações dock\n"
+"Apenas adicionar aplicações\n"
 "cujo nome começe por wm*."
-
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Instantly emit a change event on the parent folder in the delete job.

2010-11-19 Thread Jannis Pohlmann
Updating branch refs/heads/master
 to 68924ba2595fe733b7282d7b35795d4bd767c99c (commit)
   from f0bf524e6bc2489b3ede77d6204565229f6e23a8 (commit)

commit 68924ba2595fe733b7282d7b35795d4bd767c99c
Author: Jannis Pohlmann 
Date:   Fri Nov 19 16:19:33 2010 +0100

Instantly emit a change event on the parent folder in the delete job.

This hopefully fixes the delay between deleting a file and the file
disappearing in the view. The same fix will be applied to other file
operations soon.

 thunar/thunar-io-jobs.c |   22 ++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/thunar/thunar-io-jobs.c b/thunar/thunar-io-jobs.c
index a6a43a8..6caaa02 100644
--- a/thunar/thunar-io-jobs.c
+++ b/thunar/thunar-io-jobs.c
@@ -25,6 +25,7 @@
 #include 
 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -366,8 +367,10 @@ _thunar_io_jobs_unlink (ThunarJob   *job,
 GError **error)
 {
   ThunarJobResponse response;
+  ThunarFile   *parent_file;
   GFileInfo*info;
   GError   *err = NULL;
+  GFile*parent;
   GList*file_list;
   GList*lp;
   gchar*base_name;
@@ -455,6 +458,25 @@ again:
   if (response == THUNAR_JOB_RESPONSE_RETRY)
 goto again;
 }
+  else
+{
+  /* determine the parent folder of the file if there is any */
+  parent = g_file_get_parent (lp->data);
+  if (parent != NULL)
+{
+  /* obtain the thunar file for this folder from the cache */
+  parent_file = thunar_file_cache_lookup (parent);
+  if (parent_file != NULL)
+{
+  /* Feed a change event so that the delete event is 
+   * picked up immediately */
+  thunar_file_monitor_file_changed (parent_file);
+}
+
+  /* release the parent */
+  g_object_unref (parent);
+}
+}
 }
 
   /* release the file list */
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to b3310e49342b1501e724454f8ef4768c2d3a998d (commit)
   from 636f63dd4410592a9f0aa241edcd46219edc9990 (commit)

commit b3310e49342b1501e724454f8ef4768c2d3a998d
Author: Sergio Marques 
Date:   Fri Nov 19 16:19:21 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 5 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   16 +++-
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 7337ef0..f44cfdc 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -2,8 +2,8 @@
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
 # Nuno Miguel , 2007, 2008.
-#
-#
+# 
+# 
 msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-websearch-plugin 0.2.0\n"
@@ -22,18 +22,16 @@ msgstr "Propriedades"
 
 #: ../src/websearch.c:321
 msgid "Browser command: "
-msgstr "Comando do Browser: "
+msgstr "Comando do navegador: "
 
 #: ../src/websearch.c:328
 msgid "Search engine: "
-msgstr "Motor de busca:"
+msgstr "Motor de pesquisa:"
 
-#: ../src/websearch.c:345
-#: ../src/websearch.desktop.in.in.h:2
+#: ../src/websearch.c:345 ../src/websearch.desktop.in.in.h:2
 msgid "WebSearch"
-msgstr "Procura Web"
+msgstr "Pesquisa web"
 
 #: ../src/websearch.desktop.in.in.h:1
 msgid "Search the Web directly from the Panel"
-msgstr "Pesquisar a Web directamente do Painel"
-
+msgstr "Pesquisar a web através do painel"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to 5f39ee8de1813893762b29c2994fbe5c157f98db (commit)
   from 94206aa6b15f74efa67e37a99f8f8d3359ffb0ec (commit)

commit 5f39ee8de1813893762b29c2994fbe5c157f98db
Author: Sergio Marques 
Date:   Fri Nov 19 16:16:54 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 11 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   40 ++--
 1 files changed, 18 insertions(+), 22 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 92f5730..b4de2c1 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -2,57 +2,53 @@
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
 # Nuno Miguel , 2007.
-#
+# 
 msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-wavelan-plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-11-15 11:17+0900\n"
+"POT-Creation-Date: 2008-11-02 20:33+0100\n"
 "PO-Revision-Date: 2009-01-09 17:20+0100\n"
 "Last-Translator: Nuno Miguel \n"
 "Language-Team: \n"
-"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: ../panel-plugin/wavelan.c:146
+#: ../panel-plugin/wavelan.c:149
+#, c-format
 msgid "No carrier signal"
-msgstr "Nenhum sinal de portador"
+msgstr "Nenhum sinal de transporte"
 
-#: ../panel-plugin/wavelan.c:165
+#: ../panel-plugin/wavelan.c:168
 msgid "No device configured"
 msgstr "Nenhum dispositivo configurado"
 
-#: ../panel-plugin/wavelan.c:494
+#: ../panel-plugin/wavelan.c:483
 msgid "Properties"
 msgstr "Propriedades"
 
-#: ../panel-plugin/wavelan.c:510
+#: ../panel-plugin/wavelan.c:499
 msgid "Wavelan Plugin Options"
-msgstr "Opções do Plugin Wavelan"
+msgstr "Opções do \"plu-in\" Wavelan"
 
-#: ../panel-plugin/wavelan.c:526
+#: ../panel-plugin/wavelan.c:515
 msgid "Interface"
 msgstr "Interface"
 
-#: ../panel-plugin/wavelan.c:547
+#: ../panel-plugin/wavelan.c:537
 msgid "_Autohide when offline"
-msgstr "_Ocultar automaticamente quando offline"
+msgstr "_Ocultar automaticamente se desligado"
 
-#: ../panel-plugin/wavelan.c:557
+#: ../panel-plugin/wavelan.c:547
 msgid "Autohide when no hardware present"
-msgstr "Ocultar automaticamente quando não existe hardware"
+msgstr "Ocultar automaticamente quando não existe equipamento"
 
-#: ../panel-plugin/wavelan.c:568
-msgid ""
-"Note: This will make it difficult to remove or configure the plugin if there "
-"is no device detected."
-msgstr ""
-"Nota: Isto irá tornar difícil de remover ou configurar o plugin se nenhum "
-"dispositivo é detectado."
+#: ../panel-plugin/wavelan.c:558
+msgid "Note: This will make it difficult to remove or configure the plugin if 
there is no device detected."
+msgstr "Nota: Isto irá tornar difícil de remover ou configurar o \"plug-in\" 
caso nenhum dispositivo seja detectado."
 
-#: ../panel-plugin/wavelan.c:576
+#: ../panel-plugin/wavelan.c:566
 msgid "Enable signal quality colors"
 msgstr "Ligar cores de qualidade de sinal"
 
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to 9674944060c733979ea4aaafb262047ece8e7244 (commit)
   from 58fd735f17d03193d3f17d8e02f46bf8e908a3bc (commit)

commit 9674944060c733979ea4aaafb262047ece8e7244
Author: Sergio Marques 
Date:   Fri Nov 19 16:14:55 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 10 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   18 +++---
 1 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index cd7e732..eaacd50 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -2,7 +2,7 @@
 # Copyright (C) 2006-2007 Jannis Pohlmann.
 # This file is distributed under the same license as the verve-plugin package.
 # Nuno Miguel , 2007.
-#
+# 
 msgid ""
 msgstr ""
 "Project-Id-Version: verve plugin 0.3.5\n"
@@ -43,27 +43,23 @@ msgstr "Comportamento"
 #. History length label
 #: ../panel-plugin/verve-plugin.c:850
 msgid "Number of saved history items:"
-msgstr "Número de itens gravados no histórico:"
+msgstr "Número de itens a gravar no histórico:"
 
 #. vim:set expandtab sts=2 ts=2 sw=2:
 #: ../panel-plugin/xfce4-verve-plugin.desktop.in.in.h:1
 msgid "Command line interface with auto-completion and command history"
-msgstr "Linha de comando com completação automática e histórico de comandos"
+msgstr "Linha de comandos com conclusão automática e histórico de comandos"
 
 #: ../panel-plugin/xfce4-verve-plugin.desktop.in.in.h:2
 msgid "Verve Command Line"
-msgstr "Linha de Comando Verve"
+msgstr "Linha de comandos Verve"
 
 #. Print error message
 #: ../scripts/verve-focus.c:61
 msgid "Failed to connect to the D-BUS session bus."
-msgstr "Falha ao ligar com a sessão D-BUS."
+msgstr "Falha ao ligar com à sessão D-BUS."
 
 #. Print error message
 #: ../scripts/verve-focus.c:84
-msgid ""
-"There seems to be no Verve D-BUS provider (e.g. the Verve panel plugin) "
-"running."
-msgstr ""
-"Parece não existir um operador D-BUS Verve (ex. plugin de painel Verve) em "
-"execução."
+msgid "There seems to be no Verve D-BUS provider (e.g. the Verve panel plugin) 
running."
+msgstr "Parece que não existe um operador D-BUS em execução (ex. \"plug-in\" 
de painel Verve)."
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to 751dcd1d72357319d4d7ba8459946a0a22468091 (commit)
   from 478f3c92384a9cec2be5422bb10314f221951ac6 (commit)

commit 751dcd1d72357319d4d7ba8459946a0a22468091
Author: Sergio Marques 
Date:   Fri Nov 19 16:10:00 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 23 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   37 ++---
 1 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index ca52dda..66d4f35 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -17,7 +17,7 @@ msgstr ""
 
 #: ../panel-plugin/triggerlauncher-old2.c:287
 msgid "Check status every"
-msgstr "Verificar estado todos os"
+msgstr "Verificar o estado a cada"
 
 #: ../panel-plugin/triggerlauncher-old2.c:296
 #: ../panel-plugin/xfce-trigger-launcher-options.c:132
@@ -34,24 +34,24 @@ msgstr "Ícone (ligado)"
 
 #: ../panel-plugin/triggerlauncher-old2.c:1143
 msgid "Two-state Launcher"
-msgstr "Lançador de Dois estados"
+msgstr "Lançador de estado duplo"
 
 #: ../panel-plugin/xfce-file-chooser-button.c:141
 msgid "Select Icon"
-msgstr "Seleccionar ícone"
+msgstr "Seleccione o ícone"
 
 #: ../panel-plugin/xfce-file-chooser-button.c:146
 msgid "_Select"
-msgstr "_Seleccionar"
+msgstr "_Seleccione"
 
 #: ../panel-plugin/xfce-file-chooser-button.c:157
 msgid "(None Selected)"
-msgstr "(Nada Seleccionado)"
+msgstr "(Nada seleccionado)"
 
 #: ../panel-plugin/xfce-launcher-command-entry.c:118
 #, c-format
 msgid "Could not run \"%s\""
-msgstr "Impossível executar \"%s\""
+msgstr "Não é possível executar \"%s\""
 
 #: ../panel-plugin/xfce-launcher-command-entry.c:120
 msgid "Xfce Panel"
@@ -59,23 +59,23 @@ msgstr "Painel Xfce"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:127
 msgid "Command To Check Status:"
-msgstr "Comando Para Verificar Estado:"
+msgstr "Comando para verificar estado:"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:128
 msgid "Command To Enable:"
-msgstr "Comando para Activar:"
+msgstr "Comando para activar:"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:129
 msgid "Command To Disable:"
-msgstr "Comando Para Desactivar:"
+msgstr "Comando para desactivar:"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:130
 msgid "Command to Poke:"
-msgstr "Comando Para Puxar:"
+msgstr "Comando rara revirar:"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:131
 msgid "Check Interval:"
-msgstr "Verificar Intervalo:"
+msgstr "Intervalo de verificação:"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:134
 #: ../panel-plugin/xfce-trigger-launcher-options.c:135
@@ -86,29 +86,28 @@ msgstr "Ícone:"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:236
 msgid "To Check Status"
-msgstr "Para Veririficar Estado"
+msgstr "Para verificar estado"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:237
 msgid "When Disabled"
-msgstr "Quando Desligao"
+msgstr "Se desligado"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:238
 msgid "When Enabled"
-msgstr "Quando Ligado"
+msgstr "Se ligado"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:239
 msgid "When Undefined"
-msgstr "Quando indefinido"
+msgstr "Se indefinido"
 
 #: ../panel-plugin/xfce-trigger-launcher-options.c:240
 msgid "When Dodgy"
-msgstr "Quando Confuso"
+msgstr "Se confuso"
 
 #: ../panel-plugin/xfce4-trigger-launcher.desktop.in.in.h:1
 msgid "Keeps track of the state of something and can control it"
-msgstr "Mantém pista do estado de algo e mantém o controlo sobre ele"
+msgstr "Acompanha e controlar o estado de algo"
 
 #: ../panel-plugin/xfce4-trigger-launcher.desktop.in.in.h:2
 msgid "Trigger Launcher Plugin"
-msgstr "Plugin Trigger Launcher"
-
+msgstr "\"Plug-in\" Trigger Launcher"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to 7a9938c0404c557e827e99449e1bb7817858fac6 (commit)
   from 518beb984fbc09aea9c542a3083e1a6d3035639f (commit)

commit 7a9938c0404c557e827e99449e1bb7817858fac6
Author: Sergio Marques 
Date:   Fri Nov 19 16:03:04 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 32 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   37 -
 1 files changed, 16 insertions(+), 21 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index c244bcd..13eb645 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -2,7 +2,7 @@
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
 # Nuno Miguel , 2007.
-#
+# 
 msgid ""
 msgstr ""
 "Project-Id-Version: \n"
@@ -40,36 +40,32 @@ msgstr ""
 
 #: ../src/xfcetimer.c:424
 msgid "Stop timer"
-msgstr "Parar timer"
+msgstr "Parar temporizador"
 
 #: ../src/xfcetimer.c:426
 msgid "Start timer"
-msgstr "Iniciar timer"
+msgstr "Iniciar temporizador"
 
 #: ../src/xfcetimer.c:436
 msgid "Stop the alarm"
 msgstr "Parar o alarme"
 
-#: ../src/xfcetimer.c:482
-#: ../src/xfcetimer.c:556
+#: ../src/xfcetimer.c:482 ../src/xfcetimer.c:556
 #, c-format
 msgid "%dh %dm %ds"
 msgstr "%dh %dm %ds"
 
-#: ../src/xfcetimer.c:484
-#: ../src/xfcetimer.c:558
+#: ../src/xfcetimer.c:484 ../src/xfcetimer.c:558
 #, c-format
 msgid "%dm %ds"
 msgstr "%dm %ds"
 
-#: ../src/xfcetimer.c:486
-#: ../src/xfcetimer.c:560
+#: ../src/xfcetimer.c:486 ../src/xfcetimer.c:560
 #, c-format
 msgid "%ds"
 msgstr "%ds"
 
-#: ../src/xfcetimer.c:496
-#: ../src/xfcetimer.c:570
+#: ../src/xfcetimer.c:496 ../src/xfcetimer.c:570
 #, c-format
 msgid "At %02d:%02d"
 msgstr "Em %02d:%02d"
@@ -130,15 +126,15 @@ msgstr "Propriedades"
 
 #: ../src/xfcetimer.c:1174
 msgid "Xfce4 Timer Options"
-msgstr "Opções Timer Xfce4"
+msgstr "Opções do temporizador Xfce4"
 
 #: ../src/xfcetimer.c:1205
 msgid ""
 "Timer\n"
 "name"
 msgstr ""
-"Timer\n"
-"nome"
+"Nome\n"
+"do temporizador"
 
 #: ../src/xfcetimer.c:1210
 msgid ""
@@ -146,11 +142,11 @@ msgid ""
 "Alarm time"
 msgstr ""
 "Período de contagem /\n"
-"Hora de alarme"
+"Hora do alarme"
 
 #: ../src/xfcetimer.c:1214
 msgid "Alarm command"
-msgstr "Comando de alarme"
+msgstr "Comando do alarme"
 
 #: ../src/xfcetimer.c:1257
 msgid ""
@@ -158,11 +154,11 @@ msgid ""
 "if an alarm command is set"
 msgstr ""
 "Não mostrar a janela de aviso\n"
-"se um comando de alarme está definido"
+"se um comando de alarme estiver definido"
 
 #: ../src/xfcetimer.c:1264
 msgid "Repeat the alarm command:"
-msgstr "Repetir o comando de alarme:"
+msgstr "Repita o comando de alarme:"
 
 #: ../src/xfcetimer.c:1271
 msgid "Number of repetitions"
@@ -170,13 +166,12 @@ msgstr "Número de repetições"
 
 #: ../src/xfcetimer.c:1277
 msgid "  Time interval (sec.)"
-msgstr "  Intervalo de tempo (sec.)"
+msgstr "Intervalo de tempo (sec.)"
 
 #: ../src/xfce4-timer.desktop.in.in.h:1
 msgid "Timer plugin for Xfce 4.4 panel"
-msgstr "Plugin Timer para painel Xfce 4.4"
+msgstr "\"Plug-in\" para painel Xfce 4.4"
 
 #: ../src/xfce4-timer.desktop.in.in.h:2
 msgid "Xfce4 Timer"
 msgstr "Xfce4 Timer"
-
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to 0fbc5d207f828fdfed046dd383bf4c5e2bb3f60c (commit)
   from 7e3672c1f364e7e9ad45bbc733d90c3724eaefc3 (commit)

commit 0fbc5d207f828fdfed046dd383bf4c5e2bb3f60c
Author: Sergio Marques 
Date:   Fri Nov 19 15:51:14 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 21 messages complete with 0 fuzzies and 0 untranslated.

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

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

diff --git a/po/pt.po b/po/pt.po
index 356f30b..83d9472 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -89,7 +89,7 @@ msgstr "Janela de alerta"
 
 #: ../src/interface.c:204
 msgid "Blinking image"
-msgstr "Imagem de pisca"
+msgstr "Imagem intermitente"
 
 #: ../src/interface.c:208
 msgid "Notification"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Simpler string handling

2010-11-19 Thread Florian Rivoal
Updating branch refs/heads/master
 to 682c767dfc42d2fa9630542e9585f887625e8c1a (commit)
   from bb704d0fe9a1df145df578944dc03439ba19cbac (commit)

commit 682c767dfc42d2fa9630542e9585f887625e8c1a
Author: Florian Rivoal 
Date:   Mon Nov 15 10:57:32 2010 +0900

Simpler string handling

Use g_strdup rather than g_strdup_printf when possible.

 panel-plugin/wavelan.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 3716c0c..facb369 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -144,12 +144,12 @@ wavelan_timer(gpointer data)
   TRACE ("result = %d", result);
   /* reset quality indicator */
   if (result == WI_NOCARRIER) {
-tip = g_strdup_printf(_("No carrier signal"));
+tip = g_strdup(_("No carrier signal"));
 wavelan_set_state(wavelan, 0);
   }
   else {
 /* set error */
-tip = g_strdup_printf("%s", wi_strerror(result));
+tip = g_strdup(wi_strerror(result));
 wavelan_set_state(wavelan, -1);
   }
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Wake up less often to save power

2010-11-19 Thread Florian Rivoal
Updating branch refs/heads/master
 to bb704d0fe9a1df145df578944dc03439ba19cbac (commit)
   from 24812523c0a03512fcd009132a859c38fd8cddfd (commit)

commit bb704d0fe9a1df145df578944dc03439ba19cbac
Author: Florian Rivoal 
Date:   Mon Nov 15 10:49:38 2010 +0900

Wake up less often to save power

Use g_timeout_add_seconds instead of g_timeout_add for less frequent
wake ups, which should help (even if only a little) with battery life.

based on a patch submitted in bug #5181.

 panel-plugin/wavelan.c |   12 +++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index f3ca7ad..3716c0c 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -177,6 +177,16 @@ wavelan_timer(gpointer data)
   return(TRUE);
 }
 
+inline guint
+timeout_add_seconds(guint interval, GSourceFunc function, gpointer data)
+{
+#if GLIB_CHECK_VERSION( 2,14,0 )
+  return g_timeout_add_seconds(interval, function, data);
+#else
+  return g_timeout_add(interval*1000, function, data);
+#endif
+}
+
 static void
 wavelan_reset(t_wavelan *wavelan)
 {
@@ -197,7 +207,7 @@ wavelan_reset(t_wavelan *wavelan)
 if ((wavelan->device = wi_open(wavelan->interface)) != NULL) {
   /* register the update timer */
   TRACE ("Opened device");
-  wavelan->timer_id = g_timeout_add(250, wavelan_timer, wavelan);
+  wavelan->timer_id = timeout_add_seconds(1, wavelan_timer, wavelan);
 }
   }
 }
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] Replace deprecated GtkTooltips by GtkTooltip

2010-11-19 Thread Florian Rivoal
Updating branch refs/heads/master
 to 24812523c0a03512fcd009132a859c38fd8cddfd (commit)
   from 46c1f02c04bc910275603f4c278883363c8131fe (commit)

commit 24812523c0a03512fcd009132a859c38fd8cddfd
Author: Florian Rivoal 
Date:   Mon Nov 15 10:39:35 2010 +0900

Replace deprecated GtkTooltips by GtkTooltip

This fixes bug #5866

 panel-plugin/wavelan.c |   29 -
 1 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 4b3b735..f3ca7ad 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -62,8 +62,7 @@ typedef struct
   GtkWidget *ebox;
   GtkWidget *image;
   GtkWidget *signal;
-
-  GtkTooltips *tooltips;
+  GtkWidget *tooltip_text;
 
   XfcePanelPlugin *plugin;
   
@@ -168,10 +167,9 @@ wavelan_timer(gpointer data)
 wavelan_set_state(wavelan, -1);
   }
 
-  /* activate new tooltip */
+  /* set new tooltip */
   if (tip != NULL) {
-gtk_tooltips_set_tip(wavelan->tooltips, GTK_WIDGET (wavelan->plugin), 
- tip, NULL);
+gtk_label_set_text(GTK_LABEL(wavelan->tooltip_text), tip);
 g_free(tip);
   }
 
@@ -271,6 +269,12 @@ wavelan_read_config(XfcePanelPlugin *plugin, t_wavelan 
*wavelan)
   wavelan_reset(wavelan);
 }
 
+static gboolean tooltip_cb( GtkWidget *widget, gint x, gint y, gboolean 
keyboard, GtkTooltip * tooltip, t_wavelan *wavelan)
+{
+   gtk_tooltip_set_custom( tooltip, wavelan->tooltip_text );
+   return TRUE;
+}
+
 static t_wavelan *
 wavelan_new(XfcePanelPlugin *plugin)
 {
@@ -293,9 +297,14 @@ wavelan_new(XfcePanelPlugin *plugin)
   wavelan->orientation = xfce_panel_plugin_get_orientation (plugin);
  
   wavelan->ebox = gtk_event_box_new();
+  gtk_widget_set_has_tooltip(wavelan->ebox, TRUE);
+  g_signal_connect(wavelan->ebox, "query-tooltip", G_CALLBACK(tooltip_cb), 
wavelan);
   xfce_panel_plugin_add_action_widget(plugin, wavelan->ebox);
   gtk_container_add(GTK_CONTAINER(plugin), wavelan->ebox);
 
+  wavelan->tooltip_text = gtk_label_new(NULL);
+  g_object_ref( wavelan->tooltip_text );
+
   /* create box for img & progress bar */
   if (wavelan->orientation == GTK_ORIENTATION_HORIZONTAL)
 wavelan->box = xfce_hvbox_new(GTK_ORIENTATION_HORIZONTAL, FALSE, 0);
@@ -328,12 +337,6 @@ wavelan_new(XfcePanelPlugin *plugin)
   else
 gtk_widget_set_size_request(wavelan->ebox, wavelan->size, -1);
   
-
-  /* create tooltips */
-  wavelan->tooltips = gtk_tooltips_new();
-  g_object_ref (wavelan->tooltips);
-  gtk_object_sink (GTK_OBJECT (wavelan->tooltips));
-
   wavelan_read_config(plugin, wavelan);
 
   wavelan_set_state(wavelan, wavelan->state);
@@ -347,9 +350,9 @@ wavelan_free(t_wavelan *wavelan)
   TRACE ("Entered wavelan_free");
   
   /* free tooltips */
-  g_object_unref(G_OBJECT(wavelan->tooltips));
+  g_object_unref(G_OBJECT(wavelan->tooltip_text));
 
-g_source_remove(wavelan->timer_id);
+  g_source_remove(wavelan->timer_id);
 
   /* free the device info */
   if (wavelan->device != NULL)
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 100%

2010-11-19 Thread Transifex
Updating branch refs/heads/master
 to a21528593aaafbb3450670d0cdf34ae4bcae0ff2 (commit)
   from 09ea081bc28a5c5d0e9974b2f184390666a522b1 (commit)

commit a21528593aaafbb3450670d0cdf34ae4bcae0ff2
Author: Sergio Marques 
Date:   Fri Nov 19 15:14:30 2010 +0100

l10n: Updated Portuguese (pt) translation to 100%

New status: 26 messages complete with 0 fuzzies and 0 untranslated.

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

 po/pt.po |   38 --
 1 files changed, 20 insertions(+), 18 deletions(-)

diff --git a/po/pt.po b/po/pt.po
index 13449c3..b773122 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -7,21 +7,21 @@ msgid ""
 msgstr ""
 "Project-Id-Version: xfce4-notifyd\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-11-09 05:03+\n"
+"POT-Creation-Date: 2010-11-19 11:03+\n"
 "PO-Revision-Date: 2010-05-27 12:58-\n"
 "Last-Translator: Sérgio Marques \n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Country: Portugal\n"
 "Language: \n"
 "X-Poedit-Language: Portuguese\n"
-"X-Poedit-Country: Portugal\n"
 
 #: ../xfce4-notifyd/main.c:50 ../xfce4-notifyd/main.c:60
 #: ../xfce4-notifyd-config/main.c:229
 msgid "Xfce Notify Daemon"
-msgstr "Daemon de Notificação Xfce"
+msgstr "Serviço de notificação Xfce"
 
 #: ../xfce4-notifyd/main.c:53
 #, c-format
@@ -30,24 +30,19 @@ msgstr "Opção desconhecida \"%s\"\n"
 
 #: ../xfce4-notifyd/main.c:62
 msgid "Unable to start notification daemon"
-msgstr "Incapaz de iniciar o daemon de notificação"
+msgstr "Incapaz de iniciar o serviço de notificação"
 
-#: ../xfce4-notifyd/xfce-notify-daemon.c:1073
+#: ../xfce4-notifyd/xfce-notify-daemon.c:1118
 #, c-format
 msgid "Unable to connect to D-Bus session bus"
-msgstr "Incapaz de ligar ao bus de sessão D-Bus"
+msgstr "Incapaz de ligar ao sistema da sessão D-Bus"
 
-#: ../xfce4-notifyd/xfce-notify-daemon.c:1090
+#: ../xfce4-notifyd/xfce-notify-daemon.c:1135
 #, c-format
 msgid "Another notification xndaemon is already running"
 msgstr "Já está em execução outro serviço de notificações."
 
-#: ../xfce4-notifyd/xfce-notify-window.c:756
-#, c-format
-msgid "%s could not be launched"
-msgstr "%s não pôde ser iniciado."
-
-#: ../xfce4-notifyd/xfce-notify-window.c:857
+#: ../xfce4-notifyd/xfce-notify-window.c:809
 msgid "image: "
 msgstr "imagem: "
 
@@ -57,7 +52,7 @@ msgstr "Tema"
 
 #: ../xfce4-notifyd-config/main.c:231
 msgid "Settings daemon is unavailable"
-msgstr "Definições de daemon indisponíveis"
+msgstr "As definições do serviço estão indisponíveis"
 
 #: ../xfce4-notifyd-config/main.c:286
 msgid "Display version information"
@@ -65,7 +60,7 @@ msgstr "Mostrar informação de versão"
 
 #: ../xfce4-notifyd-config/main.c:287
 msgid "Settings manager socket"
-msgstr "Socket gestor de definições"
+msgstr "\"Socket\" do gestor de definições"
 
 #: ../xfce4-notifyd-config/main.c:287
 msgid "SOCKET_ID"
@@ -74,7 +69,7 @@ msgstr "SOCKET_ID"
 #: ../xfce4-notifyd-config/main.c:297
 #, c-format
 msgid "Type '%s --help' for usage."
-msgstr "Digite '%s --help' para uso."
+msgstr "Digite \"%s --help\" para utilização."
 
 #: ../xfce4-notifyd-config/main.c:309
 #, c-format
@@ -121,17 +116,24 @@ msgid "_Disappear after:"
 msgstr "_Desaparecer após:"
 
 #: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:9
+msgid "_Effect:"
+msgstr "_Efeitos:"
+
+#: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:10
 msgid "_Fade to transparent"
 msgstr "_Desvanecer para transparência"
 
-#: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:10
+#: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:11
 msgid "_Opacity:"
 msgstr "_Opacidade:"
 
-#: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:11
+#: ../xfce4-notifyd-config/xfce4-notifyd-config.glade.h:12
 msgid "seconds"
 msgstr "segundos"
 
+#~ msgid "%s could not be launched"
+#~ msgstr "%s não pôde ser iniciado."
+
 #~ msgid ""
 #~ "Top left\n"
 #~ "Bottom left\n"
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits