[Xfce4-commits] [xfce/xfdesktop] 01/01: windowlist: Reduce right padding

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 42fb1de655784e3f4d61d3a13400b9c0e4d0e540
Author: Thaddaeus Tintenfisch thad.fi...@gmail.com
Date:   Thu Mar 5 12:40:01 2015 +0100

windowlist: Reduce right padding
---
 src/windowlist.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/windowlist.c b/src/windowlist.c
index 7161512..0b387af 100644
--- a/src/windowlist.c
+++ b/src/windowlist.c
@@ -172,9 +172,9 @@ menu_item_from_wnck_window(WnckWindow *wnck_window, gint 
icon_width,
 
 /* add some padding to the right */
 if(gtk_widget_get_default_direction() == GTK_TEXT_DIR_RTL)
-g_string_prepend(label, );
+g_string_prepend(label,   );
 else
-g_string_append(label, );
+g_string_append(label,   );
 
 if(wl_show_icons) {
 icon = wnck_window_get_mini_icon(wnck_window);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] branch master updated (2ad16b8 - 42fb1de)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a change to branch master
in repository xfce/xfdesktop.

  from  2ad16b8   Do not overwrite rc file while restoring icons (bug 
#11266)
   new  42fb1de   windowlist: Reduce right padding

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/windowlist.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 01/02: Fix icon placement when using Arrange Desktop Icons (Bug #11639)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 70c0ba765f6b21c7cb1a9e1e16b4144795f7c70f
Author: Thaddaeus Tintenfisch thad.fi...@gmail.com
Date:   Thu Mar 5 11:08:50 2015 +0100

Fix icon placement when using Arrange Desktop Icons (Bug #11639)

Additional cosmetic fix:
  Sort volume icons after special ones
---
 src/xfdesktop-icon-view.c |   20 +---
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 4670ac3..b5248e8 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1822,10 +1822,11 @@ xfdesktop_icon_view_sort_icons(XfdesktopIconView 
*icon_view)
 #ifdef ENABLE_FILE_ICONS
 GList *l = NULL;
 GList *special_icons = NULL;
+GList *volume_icons = NULL;
 GList *folder_icons = NULL;
 GList *regular_icons = NULL;
-gint16 row = 0;
-gint16 col = -1; /* start at -1 because we'll increment it */
+gint16 row = -1; /* start at -1 because we'll increment it */
+gint16 col = 0;
 
 for(l = icon_view-priv-icons; l; l = l-next) {
 gint16 old_row, old_col;
@@ -1837,18 +1838,22 @@ xfdesktop_icon_view_sort_icons(XfdesktopIconView 
*icon_view)
 xfdesktop_grid_set_position_free(icon_view, old_row, old_col);
 
 /* Add it to the correct list */
-if(XFDESKTOP_IS_SPECIAL_FILE_ICON(l-data) ||
-   XFDESKTOP_IS_VOLUME_ICON(l-data)) {
+if(XFDESKTOP_IS_SPECIAL_FILE_ICON(l-data)) {
 special_icons = g_list_insert_sorted(special_icons,
  l-data,
  
(GCompareFunc)xfdesktop_icon_view_compare_icons);
+} else if(XFDESKTOP_IS_VOLUME_ICON(l-data)) {
+volume_icons = g_list_insert_sorted(volume_icons,
+l-data,
+
(GCompareFunc)xfdesktop_icon_view_compare_icons);
 } else if(XFDESKTOP_IS_FILE_ICON(l-data) 
   
g_file_query_file_type(xfdesktop_file_icon_peek_file(l-data),
  G_FILE_QUERY_INFO_NONE,
- NULL) == G_FILE_TYPE_DIRECTORY) {
+ NULL) == G_FILE_TYPE_DIRECTORY)
+{
 folder_icons = g_list_insert_sorted(folder_icons,
- l-data,
- 
(GCompareFunc)xfdesktop_icon_view_compare_icons);
+l-data,
+
(GCompareFunc)xfdesktop_icon_view_compare_icons);
 } else {
 regular_icons = g_list_insert_sorted(regular_icons,
  l-data,
@@ -1858,6 +1863,7 @@ xfdesktop_icon_view_sort_icons(XfdesktopIconView 
*icon_view)
 
 /* Append the icons: special, folder, then regular */
 xfdesktop_icon_view_append_icons(icon_view, special_icons, row, col);
+xfdesktop_icon_view_append_icons(icon_view, volume_icons, row, col);
 xfdesktop_icon_view_append_icons(icon_view, folder_icons, row, col);
 xfdesktop_icon_view_append_icons(icon_view, regular_icons, row, col);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] branch master updated (d9a8dd5 - 508a1b5)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a change to branch master
in repository xfce/xfdesktop.

  from  d9a8dd5   I18n: Update translation uk (100%).
   new  70c0ba7   Fix icon placement when using Arrange Desktop Icons 
(Bug #11639)
   new  508a1b5   Fix crash when moving 2+ icons to the bottom right corner

The 2 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/xfdesktop-icon-view.c |   25 +
 1 file changed, 17 insertions(+), 8 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 02/02: Fix crash when moving 2+ icons to the bottom right corner

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 508a1b57c1353b9c9e1dd3122692e3789f00cc0c
Author: Thaddaeus Tintenfisch thad.fi...@gmail.com
Date:   Thu Mar 5 12:13:26 2015 +0100

Fix crash when moving 2+ icons to the bottom right corner
---
 src/xfdesktop-icon-view.c |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index b5248e8..224457d 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1670,7 +1670,10 @@ xfdesktop_icon_view_drag_drop(GtkWidget *widget,
 /* Find the next available spot for an icon */
 do {
 if(row + 1 = icon_view-priv-nrows) {
-++col;
+if(col + 1 = icon_view-priv-ncols)
+col = 0;
+else
+++col;
 row = 0;
 } else {
 ++row;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 01/02: windowlist: Consider RTL languages

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit d53058d36fb292223b5dd3aae39c89db9465b6b3
Author: Thaddaeus Tintenfisch thad.fi...@gmail.com
Date:   Sat Mar 7 20:32:26 2015 +0300

windowlist: Consider RTL languages
---
 src/windowlist.c |6 ++
 1 file changed, 6 insertions(+)

diff --git a/src/windowlist.c b/src/windowlist.c
index 2b6d766..7161512 100644
--- a/src/windowlist.c
+++ b/src/windowlist.c
@@ -170,6 +170,12 @@ menu_item_from_wnck_window(WnckWindow *wnck_window, gint 
icon_width,
 g_string_append(label, /i/b);
 }
 
+/* add some padding to the right */
+if(gtk_widget_get_default_direction() == GTK_TEXT_DIR_RTL)
+g_string_prepend(label, );
+else
+g_string_append(label, );
+
 if(wl_show_icons) {
 icon = wnck_window_get_mini_icon(wnck_window);
 w = gdk_pixbuf_get_width(icon);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] branch master updated (508a1b5 - 2ad16b8)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a change to branch master
in repository xfce/xfdesktop.

  from  508a1b5   Fix crash when moving 2+ icons to the bottom right corner
   new  d53058d   windowlist: Consider RTL languages
   new  2ad16b8   Do not overwrite rc file while restoring icons (bug 
#11266)

The 2 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/windowlist.c  |6 ++
 src/xfdesktop-file-icon-manager.c |5 -
 2 files changed, 10 insertions(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 02/02: Do not overwrite rc file while restoring icons (bug #11266)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 2ad16b8efe9b576b998e442a3c01b9d7c3a91fbb
Author: Thaddaeus Tintenfisch thad.fi...@gmail.com
Date:   Sat Mar 7 00:37:49 2015 +0100

Do not overwrite rc file while restoring icons (bug #11266)
---
 src/xfdesktop-file-icon-manager.c |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/xfdesktop-file-icon-manager.c 
b/src/xfdesktop-file-icon-manager.c
index d65e161..a81afcf 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -2028,7 +2028,10 @@ xfdesktop_file_icon_position_changed(XfdesktopFileIcon 
*icon,
 void
 xfdesktop_file_icon_save(gpointer user_data)
 {
-   xfdesktop_file_icon_position_changed(NULL, user_data);
+XfdesktopFileIconManager *fmanager = 
XFDESKTOP_FILE_ICON_MANAGER(user_data);
+
+if(fmanager-priv-pending_icons == NULL)
+xfdesktop_file_icon_position_changed(NULL, user_data);
 }
 
 gboolean

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfce4-session] branch xfce-4.12 updated (6600296 - 364342f)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a change to branch xfce-4.12
in repository xfce/xfce4-session.

  from  6600296   Post release tag bump
   new  364342f   Drop check for sessions file before it's written (Bug 
#11632)

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 xfce4-session/xfsm-manager.c |   30 --
 1 file changed, 30 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfce4-session] 01/01: Drop check for sessions file before it's written (Bug #11632)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch xfce-4.12
in repository xfce/xfce4-session.

commit 364342fbd84c924783a415046f813169cf1d1a0a
Author: Eric Koegel eric.koe...@gmail.com
Date:   Fri Mar 6 19:55:02 2015 +0300

Drop check for sessions file before it's written (Bug #11632)

Just opening the session file in rc_open doesn't cause a write,
so drop the unneeded check that was breaking session saves.
---
 xfce4-session/xfsm-manager.c |   30 --
 1 file changed, 30 deletions(-)

diff --git a/xfce4-session/xfsm-manager.c b/xfce4-session/xfsm-manager.c
index 8b62607..999e420 100644
--- a/xfce4-session/xfsm-manager.c
+++ b/xfce4-session/xfsm-manager.c
@@ -1652,8 +1652,6 @@ xfsm_manager_store_session (XfsmManager *manager)
   GdkDisplay*display;
   WnckScreen*screen;
   XfceRc*rc;
-  GFile *session_file;
-  GFileInfo *info;
   GList *lp;
   gchar  prefix[64];
   gchar *backup;
@@ -1673,32 +1671,6 @@ xfsm_manager_store_session (XfsmManager *manager)
   return;
 }
 
-  session_file = g_file_new_for_path (manager-session_file);
-
-  /* query the file, we need to make sure we can write to it */
-  info = g_file_query_info (session_file,
-G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE,
-G_FILE_QUERY_INFO_NONE,
-NULL,
-NULL);
-
-  /* if we're unable to query the file attributes or write to the file,
-   * log the failure and return */
-  if (!info || !g_file_info_get_attribute_boolean (info, 
G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE))
-{
-  fprintf (stderr,
-   xfce4-session: Unable to save changes to the session file %s
-   Please check your installation.\n, manager-session_file);
-
-  if (info)
-g_object_unref (info);
-
-  xfce_rc_close (rc);
-  g_object_unref (session_file);
-
-  return;
-}
-
   /* backup the old session file first */
   if (g_file_test (manager-session_file, G_FILE_TEST_IS_REGULAR))
 {
@@ -1772,8 +1744,6 @@ xfsm_manager_store_session (XfsmManager *manager)
 
   xfce_rc_close (rc);
 
-  g_object_unref (session_file);
-
   g_free (manager-checkpoint_session_name);
   manager-checkpoint_session_name = NULL;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfce4-session] 01/01: Drop check for sessions file before it's written (Bug #11632)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-session.

commit ca310c400817640a4e7fbcbe195a8b1b4544b281
Author: Eric Koegel eric.koe...@gmail.com
Date:   Fri Mar 6 19:55:02 2015 +0300

Drop check for sessions file before it's written (Bug #11632)

Just opening the session file in rc_open doesn't cause a write,
so drop the unneeded check that was breaking session saves.
---
 xfce4-session/xfsm-manager.c |   30 --
 1 file changed, 30 deletions(-)

diff --git a/xfce4-session/xfsm-manager.c b/xfce4-session/xfsm-manager.c
index 8b62607..999e420 100644
--- a/xfce4-session/xfsm-manager.c
+++ b/xfce4-session/xfsm-manager.c
@@ -1652,8 +1652,6 @@ xfsm_manager_store_session (XfsmManager *manager)
   GdkDisplay*display;
   WnckScreen*screen;
   XfceRc*rc;
-  GFile *session_file;
-  GFileInfo *info;
   GList *lp;
   gchar  prefix[64];
   gchar *backup;
@@ -1673,32 +1671,6 @@ xfsm_manager_store_session (XfsmManager *manager)
   return;
 }
 
-  session_file = g_file_new_for_path (manager-session_file);
-
-  /* query the file, we need to make sure we can write to it */
-  info = g_file_query_info (session_file,
-G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE,
-G_FILE_QUERY_INFO_NONE,
-NULL,
-NULL);
-
-  /* if we're unable to query the file attributes or write to the file,
-   * log the failure and return */
-  if (!info || !g_file_info_get_attribute_boolean (info, 
G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE))
-{
-  fprintf (stderr,
-   xfce4-session: Unable to save changes to the session file %s
-   Please check your installation.\n, manager-session_file);
-
-  if (info)
-g_object_unref (info);
-
-  xfce_rc_close (rc);
-  g_object_unref (session_file);
-
-  return;
-}
-
   /* backup the old session file first */
   if (g_file_test (manager-session_file, G_FILE_TEST_IS_REGULAR))
 {
@@ -1772,8 +1744,6 @@ xfsm_manager_store_session (XfsmManager *manager)
 
   xfce_rc_close (rc);
 
-  g_object_unref (session_file);
-
   g_free (manager-checkpoint_session_name);
   manager-checkpoint_session_name = NULL;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfce4-session] branch master updated (6600296 - ca310c4)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

eric pushed a change to branch master
in repository xfce/xfce4-session.

  from  6600296   Post release tag bump
   new  ca310c4   Drop check for sessions file before it's written (Bug 
#11632)

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 xfce4-session/xfsm-manager.c |   30 --
 1 file changed, 30 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [apps/xfburn] 01/01: I18n: Update translation fr (100%).

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository apps/xfburn.

commit 208dd61431325a0ee8beefd815cd5d56e757dd22
Author: Urien Desterres urien.dester...@gmail.com
Date:   Sat Mar 7 12:30:57 2015 +0100

I18n: Update translation fr (100%).

303 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/fr.po |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/po/fr.po b/po/fr.po
index 350c750..b834095 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -9,15 +9,15 @@
 # Maximilian Schleiss maximil...@xfce.org, 2007
 # Mike Massonnet mmasson...@xfce.org, 2008-2009
 # Patrick Douart patric...@laposte.net, 2009
-# Urien Desterres urien.dester...@gmail.com, 2014
+# Urien Desterres urien.dester...@gmail.com, 2014-2015
 # Yannick Le Guen leguen.yann...@gmail.com, 2014
 msgid 
 msgstr 
 Project-Id-Version: Xfce Apps\n
 Report-Msgid-Bugs-To: \n
 POT-Creation-Date: 2014-04-05 12:31+0200\n
-PO-Revision-Date: 2014-12-26 22:01+\n
-Last-Translator: Yannick Le Guen leguen.yann...@gmail.com\n
+PO-Revision-Date: 2015-03-07 09:41+\n
+Last-Translator: Urien Desterres urien.dester...@gmail.com\n
 Language-Team: French 
(http://www.transifex.com/projects/p/xfce-apps/language/fr/)\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
@@ -831,7 +831,7 @@ msgstr _Aide
 
 #: ../xfburn/xfburn-main-window.c:125
 msgid _About
-msgstr _À propos
+msgstr À _propos
 
 #: ../xfburn/xfburn-main-window.c:125
 msgid Display information about Xfburn

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [apps/xfburn] branch master updated (1128ce0 - 208dd61)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a change to branch master
in repository apps/xfburn.

  from  1128ce0   I18n: Update translation sk (100%).
   new  208dd61   I18n: Update translation fr (100%).

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 po/fr.po |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/tumbler] 01/01: Removed unused static function xdg_cache_cache_get_home() (bug #11648)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/tumbler.

commit 81edf4346bdae6abd680c6e1518693a88861403e
Author: Matt Thirtytwo matt.59...@gmail.com
Date:   Thu Mar 5 20:33:08 2015 +0100

Removed unused static function xdg_cache_cache_get_home() (bug #11648)
---
 plugins/xdg-cache/xdg-cache-cache.c |9 -
 1 file changed, 9 deletions(-)

diff --git a/plugins/xdg-cache/xdg-cache-cache.c 
b/plugins/xdg-cache/xdg-cache-cache.c
index 3afe316..cd7b19c 100644
--- a/plugins/xdg-cache/xdg-cache-cache.c
+++ b/plugins/xdg-cache/xdg-cache-cache.c
@@ -60,7 +60,6 @@ static void  xdg_cache_cache_move   
(TumblerCache
 static gboolean  xdg_cache_cache_is_thumbnail   (TumblerCache  
 *cache,
  const gchar   
 *uri);
 static GList*xdg_cache_cache_get_flavors(TumblerCache  
 *cache);
-static const gchar  *xdg_cache_cache_get_home   (void);
 
 
 
@@ -558,14 +557,6 @@ xdg_cache_cache_get_flavors (TumblerCache *cache)
 
 
 
-static const gchar *
-xdg_cache_cache_get_home (void)
-{
-  return g_getenv (HOME) != NULL ? g_getenv (HOME) : g_get_home_dir ();
-}
-
-
-
 GFile *
 xdg_cache_cache_get_file (const gchar*uri,
   TumblerThumbnailFlavor *flavor)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/thunar-volman] branch master updated (b933cd6 - 2e295e9)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

hjudt pushed a change to branch master
in repository xfce/thunar-volman.

  from  b933cd6   I18n: Update translation de (100%).
   new  2e295e9   Fix return with no value in function returning non-void 
(bug #11656)

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 thunar-volman/tvm-block-device.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/thunar-volman] 01/01: Fix return with no value in function returning non-void (bug #11656)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/thunar-volman.

commit 2e295e9ce8f7f60a271adf004588b0d8db88db09
Author: Matt Thirtytwo matt.59...@gmail.com
Date:   Sat Mar 7 22:50:32 2015 +0100

Fix return with no value in function returning non-void (bug #11656)
---
 thunar-volman/tvm-block-device.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunar-volman/tvm-block-device.c b/thunar-volman/tvm-block-device.c
index da31efa..edb6cad 100644
--- a/thunar-volman/tvm-block-device.c
+++ b/thunar-volman/tvm-block-device.c
@@ -714,7 +714,7 @@ tvm_block_device_mount (TvmContext *context)
   GMountOperation *mount_operation;
   GVolume *volume;
 
-  g_return_if_fail (context != NULL);
+  g_return_val_if_fail ((context != NULL), FALSE);
 
   /* determine the GVolume corresponding to the udev device */
   volume = 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/tumbler] branch master updated (5ef58d3 - 81edf43)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

hjudt pushed a change to branch master
in repository xfce/tumbler.

  from  5ef58d3   Updates for release
   new  81edf43   Removed unused static function xdg_cache_cache_get_home() 
(bug #11648)

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 plugins/xdg-cache/xdg-cache-cache.c |9 -
 1 file changed, 9 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/libxfce4ui] branch master updated (904e0c1 - 1101fbf)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

hjudt pushed a change to branch master
in repository xfce/libxfce4ui.

  from  904e0c1   Remove unused 'has_member' variable in xfce4-about (bug 
#11654)
   new  1101fbf   Add shortcuts for xfwm4 to tile windows to corners (bug 
#11652)

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 libxfce4kbd-private/xfce-shortcuts-xfwm4.c |4 
 1 file changed, 4 insertions(+)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/libxfce4ui] 01/01: Add shortcuts for xfwm4 to tile windows to corners (bug #11652)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/libxfce4ui.

commit 1101fbf4f78106a116858d0bdb24eabfcc2eaab0
Author: Harald Judt h.j...@gmx.at
Date:   Sat Mar 7 22:32:22 2015 +0100

Add shortcuts for xfwm4 to tile windows to corners (bug #11652)
---
 libxfce4kbd-private/xfce-shortcuts-xfwm4.c |4 
 1 file changed, 4 insertions(+)

diff --git a/libxfce4kbd-private/xfce-shortcuts-xfwm4.c 
b/libxfce4kbd-private/xfce-shortcuts-xfwm4.c
index 2626d2b..9caf627 100644
--- a/libxfce4kbd-private/xfce-shortcuts-xfwm4.c
+++ b/libxfce4kbd-private/xfce-shortcuts-xfwm4.c
@@ -82,6 +82,10 @@ const ShortcutTemplate xfwm4_shortcut_values[] = {
   { N_(Tile window to the bottom), tile_down_key },
   { N_(Tile window to the left), tile_left_key },
   { N_(Tile window to the right), tile_right_key },
+  { N_(Tile window to the top-left), tile_up_left_key },
+  { N_(Tile window to the top-right), tile_up_right_key },
+  { N_(Tile window to the bottom-left), tile_down_left_key },
+  { N_(Tile window to the bottom-right), tile_down_right_key },
   { N_(Show desktop), show_desktop_key },
   { N_(Upper workspace), up_workspace_key },
   { N_(Bottom workspace), down_workspace_key },

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-wavelan-plugin] branch master updated (202ca91 - c1dc0bf)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a change to branch master
in repository panel-plugins/xfce4-wavelan-plugin.

  from  202ca91   I18n: Update translation pt_BR (100%).
   new  a6dbf26   I18n: Update translation ru (100%).
   new  c1dc0bf   I18n: Update translation sr (100%).

The 2 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 po/ru.po |   56 ++--
 po/sr.po |   12 
 2 files changed, 50 insertions(+), 18 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-wavelan-plugin] 01/02: I18n: Update translation ru (100%).

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository panel-plugins/xfce4-wavelan-plugin.

commit a6dbf265e33bb1a3a2070daa68f9286cc56b4f12
Author: Sergey Alyoshin alyoshi...@gmail.com
Date:   Sun Mar 8 00:31:51 2015 +0100

I18n: Update translation ru (100%).

18 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/ru.po |   56 ++--
 1 file changed, 42 insertions(+), 14 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index 55f21c0..6055948 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -3,13 +3,13 @@
 # This file is distributed under the same license as the PACKAGE package.
 # 
 # Translators:
-# Sergey Alyoshin alyoshi...@gmail.com, 2014
+# Sergey Alyoshin alyoshi...@gmail.com, 2014-2015
 msgid 
 msgstr 
 Project-Id-Version: Xfce Panel Plugins\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2014-06-13 00:31+0200\n
-PO-Revision-Date: 2014-06-21 13:14+\n
+POT-Creation-Date: 2015-03-05 00:32+0100\n
+PO-Revision-Date: 2015-03-07 20:06+\n
 Last-Translator: Sergey Alyoshin alyoshi...@gmail.com\n
 Language-Team: Russian 
(http://www.transifex.com/projects/p/xfce-panel-plugins/language/ru/)\n
 MIME-Version: 1.0\n
@@ -18,52 +18,80 @@ msgstr 
 Language: ru\n
 Plural-Forms: nplurals=3; plural=(n%10==1  n%100!=11 ? 0 : n%10=2  
n%10=4  (n%10010 || n%100=20) ? 1 : 2);\n
 
-#: ../panel-plugin/wavelan.c:159
+#: ../panel-plugin/wavelan.c:159 ../panel-plugin/wi_common.c:35
 msgid No carrier signal
 msgstr Отсутствует несущий сигнал
 
-#: ../panel-plugin/wavelan.c:178
+#. Translators: net_name: quality quality_unit at rate Mb/s
+#: ../panel-plugin/wavelan.c:173
+#, c-format
+msgid %s: %d%s at %dMb/s
+msgstr %s: %d%s при %dМб/с
+
+#. Translators: quality quality_unit at rate Mb/s
+#: ../panel-plugin/wavelan.c:176
+#, c-format
+msgid %d%s at %dMb/s
+msgstr %d%s при %dМб/с
+
+#: ../panel-plugin/wavelan.c:180
 msgid No device configured
 msgstr Устройство не настроено
 
-#: ../panel-plugin/wavelan.c:499
+#: ../panel-plugin/wavelan.c:501
 msgid Wavelan Plugin Options
 msgstr Настройки модуля беспроводной сети
 
-#: ../panel-plugin/wavelan.c:514
+#: ../panel-plugin/wavelan.c:516
 msgid Properties
 msgstr Свойства
 
-#: ../panel-plugin/wavelan.c:525
+#: ../panel-plugin/wavelan.c:527
 msgid Interface
 msgstr Интерфейс
 
-#: ../panel-plugin/wavelan.c:546
+#: ../panel-plugin/wavelan.c:549
 msgid _Autohide when offline
 msgstr Скрывать при отсутствии си_гнала
 
-#: ../panel-plugin/wavelan.c:556
+#: ../panel-plugin/wavelan.c:559
 msgid Autohide when no _hardware present
 msgstr Скрывать при отсутствии ус_тройства
 
-#: ../panel-plugin/wavelan.c:567
+#: ../panel-plugin/wavelan.c:570
 msgid 
 Note: This will make it difficult to remove or configure the plugin if there
  is no device detected.
 msgstr Замечание: при этом будет сложно удалить или настроить модуль, если 
устройство не определено.
 
-#: ../panel-plugin/wavelan.c:575
+#: ../panel-plugin/wavelan.c:578
 msgid Enable sig_nal quality colors
 msgstr Отображать ц_ветом качество сигнала
 
-#: ../panel-plugin/wavelan.c:586
+#: ../panel-plugin/wavelan.c:589
 msgid Show _icon
 msgstr Показывать з_начок
 
-#: ../panel-plugin/wavelan.c:614 ../panel-plugin/wavelan.desktop.in.h:2
+#: ../panel-plugin/wavelan.c:617 ../panel-plugin/wavelan.desktop.in.h:2
 msgid View the status of a wireless network
 msgstr Просмотр статуса беспроводной сети
 
+#: ../panel-plugin/wi_common.c:38
+msgid No such WaveLAN device
+msgstr Нет такого устройства WaveLAN
+
+#: ../panel-plugin/wi_common.c:41
+msgid Invalid parameter
+msgstr Неверный параметр
+
+#: ../panel-plugin/wi_common.c:44
+msgid Unknown error
+msgstr Неизвестная ошибка
+
+#: ../panel-plugin/wi_linux.c:150
+msgid Unknown
+msgstr Неизвестно
+
 #: ../panel-plugin/wavelan.desktop.in.h:1
 msgid Wavelan
 msgstr Беспроводная сеть

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] branch master updated (42fb1de - 274b8fe)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a change to branch master
in repository xfce/xfdesktop.

  from  42fb1de   windowlist: Reduce right padding
   new  274b8fe   I18n: Update translation ru (100%).

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 po/ru.po |  206 --
 1 file changed, 105 insertions(+), 101 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/xfdesktop] 01/01: I18n: Update translation ru (100%).

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository xfce/xfdesktop.

commit 274b8febb16dc9cd16e4d605437fbc5edde5d76c
Author: Sergey Alyoshin alyoshi...@gmail.com
Date:   Sun Mar 8 00:32:07 2015 +0100

I18n: Update translation ru (100%).

222 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/ru.po |  206 --
 1 file changed, 105 insertions(+), 101 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index e8d6e8e..208295f 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -22,8 +22,8 @@ msgid 
 msgstr 
 Project-Id-Version: Xfdesktop\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2015-02-16 12:32+0100\n
-PO-Revision-Date: 2015-02-28 20:14+\n
+POT-Creation-Date: 2015-03-03 18:32+0100\n
+PO-Revision-Date: 2015-03-07 20:10+\n
 Last-Translator: Sergey Alyoshin alyoshi...@gmail.com\n
 Language-Team: Russian 
(http://www.transifex.com/projects/p/xfdesktop/language/ru/)\n
 MIME-Version: 1.0\n
@@ -116,53 +116,53 @@ msgstr Фоновое изображение для %s
 msgid Move this dialog to the workspace you want to edit the settings for.
 msgstr Перенесите этот диалог на рабочее место настройки которого хотите 
изменить.
 
-#: ../settings/main.c:1176
+#: ../settings/main.c:1178
 msgid Image selection is unavailable while the image style is set to None.
 msgstr Выбор изображения недоступен, если не указан стиль изображения.
 
-#: ../settings/main.c:1526
+#: ../settings/main.c:1528
 msgid Spanning screens
 msgstr Объединённые экраны
 
-#: ../settings/main.c:1836
+#: ../settings/main.c:1839
 msgid Image files
 msgstr Файлы изображений
 
-#: ../settings/main.c:2016
+#: ../settings/main.c:2019
 msgid Settings manager socket
 msgstr Сокет диспетчера настроек
 
-#: ../settings/main.c:2016
+#: ../settings/main.c:2019
 msgid SOCKET ID
 msgstr ID сокета
 
-#: ../settings/main.c:2017
+#: ../settings/main.c:2020
 msgid Version information
 msgstr Информация о версии
 
-#: ../settings/main.c:2018 ../src/xfdesktop-application.c:844
+#: ../settings/main.c:2021 ../src/xfdesktop-application.c:844
 msgid Enable debug messages
 msgstr Включить отладочные сообщения
 
-#: ../settings/main.c:2046
+#: ../settings/main.c:2049
 #, c-format
 msgid Type '%s --help' for usage.
 msgstr Наберите «%s --help» для информации об использовании.
 
-#: ../settings/main.c:2058
+#: ../settings/main.c:2061
 msgid The Xfce development team. All rights reserved.
 msgstr Команда разработчиков Xfce. Все права защищены.
 
-#: ../settings/main.c:2059
+#: ../settings/main.c:2062
 #, c-format
 msgid Please report bugs to %s.
 msgstr Об ошибках сообщайте на %s.
 
-#: ../settings/main.c:2066
+#: ../settings/main.c:2069
 msgid Desktop Settings
 msgstr Настройки рабочего стола
 
-#: ../settings/main.c:2068
+#: ../settings/main.c:2071
 msgid Unable to contact settings server
 msgstr Не удаётся подключиться к серверу настроек
 
@@ -351,7 +351,7 @@ msgstr Значки свёрнутых приложений
 msgid File/launcher icons
 msgstr Значки файлов и запуска
 
-#: ../settings/xfdesktop-settings-ui.glade.h:10 ../src/xfce-desktop.c:1045
+#: ../settings/xfdesktop-settings-ui.glade.h:10 ../src/xfce-desktop.c:1024
 msgid Desktop
 msgstr Рабочий стол
 
@@ -442,13 +442,13 @@ msgid 
 msgstr Показывать эскизы для файлов соответствующего типа на Рабочем столе.
 
 #: ../settings/xfdesktop-settings-ui.glade.h:33
-msgid Single _click to activate items
-msgstr Открывать одним щел_чком
-
-#: ../settings/xfdesktop-settings-ui.glade.h:34
 msgid Show hidden files on the desktop
 msgstr Показывать скрытые файлы на рабочем столе
 
+#: ../settings/xfdesktop-settings-ui.glade.h:34
+msgid Single _click to activate items
+msgstr Открывать одним щел_чком
+
 #: ../settings/xfdesktop-settings-ui.glade.h:35
 msgid Show icon tooltips. Size:
 msgstr Показывать подсказки для значков. Размер:
@@ -507,40 +507,40 @@ msgstr Действительно удалить рабочее место «%s
 msgid Remove
 msgstr Удалить
 
-#: ../src/windowlist.c:246
+#: ../src/windowlist.c:247
 msgid Window List
 msgstr Список окон
 
-#: ../src/windowlist.c:272
+#: ../src/windowlist.c:273
 #, c-format
 msgid bWorkspace %d/b
 msgstr bРабочее место %d/b
 
-#: ../src/windowlist.c:362 ../src/windowlist.c:365
+#: ../src/windowlist.c:361 ../src/windowlist.c:364
 msgid _Add Workspace
 msgstr _Добавить рабочее место
 
-#: ../src/windowlist.c:373
+#: ../src/windowlist.c:372
 #, c-format
 msgid _Remove Workspace %d
 msgstr _Удалить рабочее место %d
 
-#: ../src/windowlist.c:376
+#: ../src/windowlist.c:375
 #, c-format
 msgid _Remove Workspace '%s'
 msgstr _Удалить рабочее место «%s»
 
 #: ../src/xfdesktop-app-menu-item.c:351
-#: ../src/xfdesktop-file-icon-manager.c:861
-#: ../src/xfdesktop-file-icon-manager.c:1126
-#: ../src/xfdesktop-file-icon-manager.c:1322 ../src/xfdesktop-file-utils.c:664
-#: ../src/xfdesktop-file-utils.c:1086 ../src/xfdesktop-file-utils.c:1163
-#: ../src/xfdesktop-file-utils.c:1188 

[Xfce4-commits] [panel-plugins/xfce4-wavelan-plugin] 02/02: I18n: Update translation sr (100%).

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository panel-plugins/xfce4-wavelan-plugin.

commit c1dc0bfac2443a597ad04a773af824f624a74b04
Author: Саша Петровић salepetron...@gmail.com
Date:   Sun Mar 8 00:31:51 2015 +0100

I18n: Update translation sr (100%).

18 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/sr.po |   12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/po/sr.po b/po/sr.po
index 0e3c2b6..19bb935 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -3,13 +3,13 @@
 # This file is distributed under the same license as the PACKAGE package.
 # 
 # Translators:
-# Саша Петровић salepetron...@gmail.com, 2012,2014
+# Саша Петровић salepetron...@gmail.com, 2012,2014-2015
 msgid 
 msgstr 
 Project-Id-Version: Xfce Panel Plugins\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2014-12-04 18:31+0100\n
-PO-Revision-Date: 2014-12-10 16:03+\n
+POT-Creation-Date: 2015-03-05 00:32+0100\n
+PO-Revision-Date: 2015-03-07 19:02+\n
 Last-Translator: Саша Петровић salepetron...@gmail.com\n
 Language-Team: Serbian 
(http://www.transifex.com/projects/p/xfce-panel-plugins/language/sr/)\n
 MIME-Version: 1.0\n
@@ -20,7 +20,7 @@ msgstr 
 
 #: ../panel-plugin/wavelan.c:159 ../panel-plugin/wi_common.c:35
 msgid No carrier signal
-msgstr Нема сигнала пружаоца услуга
+msgstr Нема сигнала достављача услуга
 
 #. Translators: net_name: quality quality_unit at rate Mb/s
 #: ../panel-plugin/wavelan.c:173
@@ -88,6 +88,10 @@ msgstr Одредница је неисправна
 msgid Unknown error
 msgstr Непозната грешка
 
+#: ../panel-plugin/wi_linux.c:150
+msgid Unknown
+msgstr Непознато
+
 #: ../panel-plugin/wavelan.desktop.in.h:1
 msgid Wavelan
 msgstr Мрежни талас

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-mpc-plugin] branch master updated (2b959e3 - c0b45b4)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a change to branch master
in repository panel-plugins/xfce4-mpc-plugin.

  from  2b959e3   I18n: Update translation pt_BR (100%).
   new  740ac75   I18n: Update translation ru (100%).
   new  c0b45b4   I18n: Update translation sr (100%).

The 2 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 po/ru.po |   69 --
 po/sr.po |   92 --
 2 files changed, 76 insertions(+), 85 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-mpc-plugin] 02/02: I18n: Update translation sr (100%).

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository panel-plugins/xfce4-mpc-plugin.

commit c0b45b461cb1035005c71a8dc644edf819bd8fad
Author: Саша Петровић salepetron...@gmail.com
Date:   Sun Mar 8 00:31:31 2015 +0100

I18n: Update translation sr (100%).

24 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/sr.po |   92 --
 1 file changed, 47 insertions(+), 45 deletions(-)

diff --git a/po/sr.po b/po/sr.po
index d1be5b7..ed7286b 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -1,118 +1,120 @@
 # 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 EMAIL@ADDRESS, YEAR.
-# Саша Петровић salepetron...@gmail.com, 2012.
 # 
+# Translators:
+# Саша Петровић salepetron...@gmail.com, 2012-2013
+# Саша Петровић salepetron...@gmail.com, 2015
 msgid 
 msgstr 
-Project-Id-Version: master\n
+Project-Id-Version: Xfce Panel Plugins\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2012-02-15 10:14+0100\n
-PO-Revision-Date: 2012-11-15 22:49+0100\n
-Last-Translator: salepetronije salepetron...@gmail.com\n
-Language-Team: српски xfce-i...@xfce.org\n
+POT-Creation-Date: 2015-03-05 00:31+0100\n
+PO-Revision-Date: 2015-03-07 19:08+\n
+Last-Translator: Саша Петровић salepetron...@gmail.com\n
+Language-Team: Serbian 
(http://www.transifex.com/projects/p/xfce-panel-plugins/language/sr/)\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
 Content-Transfer-Encoding: 8bit\n
-Language: \n
-X-Generator: Gtranslator 2.91.5\n
-Plural-Forms: nplurals=3; plural=(n%10==1  n%100!=11 ? 0 : n%10=2  
(n%10010 || n%100=20) ? 1 : 2);\n
+Language: sr\n
+Plural-Forms: nplurals=3; plural=(n%10==1  n%100!=11 ? 0 : n%10=2  
n%10=4  (n%10010 || n%100=20) ? 1 : 2);\n
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:128
-#: ../panel-plugin/xfce4-mpc-plugin.c:204
-#: ../panel-plugin/xfce4-mpc-plugin.c:749
+#: ../panel-plugin/xfce4-mpc-plugin.c:137
+#: ../panel-plugin/xfce4-mpc-plugin.c:213
+#: ../panel-plugin/xfce4-mpc-plugin.c:759
 msgid Launch
 msgstr Покрени
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:261
+#: ../panel-plugin/xfce4-mpc-plugin.c:270
 msgid Mpd Client Plugin
-msgstr Прикључак МПД клијента
+msgstr Прикључак клијента МПД-а
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:267
+#: ../panel-plugin/xfce4-mpc-plugin.c:276
 msgid Properties
 msgstr Својства
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:280
+#: ../panel-plugin/xfce4-mpc-plugin.c:289
 msgid Host : 
 msgstr Домаћин : 
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:281
+#: ../panel-plugin/xfce4-mpc-plugin.c:290
 msgid Port : 
 msgstr Прикључник : 
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:282
+#: ../panel-plugin/xfce4-mpc-plugin.c:291
 msgid Password : 
 msgstr Лозинка : 
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:283
+#: ../panel-plugin/xfce4-mpc-plugin.c:292
 msgid MPD Client : 
-msgstr МПД клијент : 
+msgstr Клијент МПД-а : 
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:284
+#: ../panel-plugin/xfce4-mpc-plugin.c:293
 msgid Tooltip Format : 
 msgstr Облик _напомена : 
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:285
+#: ../panel-plugin/xfce4-mpc-plugin.c:294
 msgid Playlist Format : 
-msgstr Облик списка нумера : 
+msgstr Облик списка за извођење : 
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:319
+#: ../panel-plugin/xfce4-mpc-plugin.c:328
 msgid Hostname or IP address
 msgstr Домаћин или ИП адреса
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:320
+#: ../panel-plugin/xfce4-mpc-plugin.c:329
 msgid Graphical MPD Client to launch in plugin context menu
-msgstr Графички МПД клијент за покретање у приручном изборнику прикључка
+msgstr Графички клијент МПД-а за покретање у приручном изборнику прикључка
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:321
+#: ../panel-plugin/xfce4-mpc-plugin.c:330
 msgid Variables : %artist%, %album%, %track% and %title%
 msgstr Променљиве : %artist%, %album%, %track% и %title%
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:322
-msgid Variables : %vol%, %status%, %newline%, %artist%, %album%, %track% and 
%title%
+#: ../panel-plugin/xfce4-mpc-plugin.c:331
+msgid 
+Variables : %vol%, %status%, %newline%, %artist%, %album%, %track% and 
+%title%
 msgstr Променљиве : %vol%, %status%, %newline%, %artist%, %album%, %track% и 
%title%
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:327
+#: ../panel-plugin/xfce4-mpc-plugin.c:336
 msgid Show _frame
 msgstr Прикажи _оквир
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:449
-#: ../panel-plugin/xfce4-mpc-plugin.c:680
+#: ../panel-plugin/xfce4-mpc-plugin.c:459
+#: ../panel-plugin/xfce4-mpc-plugin.c:690
 msgid  not connected ?
 msgstr  није повезан ?
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:533
+#: ../panel-plugin/xfce4-mpc-plugin.c:543
 msgid Mpd playlist
-msgstr МПД списак за извођење
+msgstr Списак за извођење МПД-а
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:745
+#: 

[Xfce4-commits] [panel-plugins/xfce4-mpc-plugin] 01/02: I18n: Update translation ru (100%).

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository panel-plugins/xfce4-mpc-plugin.

commit 740ac75007cfa73ffe8cd7b6a2a5d0b9fef36e80
Author: Sergey Alyoshin alyoshi...@gmail.com
Date:   Sun Mar 8 00:31:31 2015 +0100

I18n: Update translation ru (100%).

24 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/ru.po |   69 ++
 1 file changed, 29 insertions(+), 40 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index 9f2813b..9b81996 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -1,32 +1,28 @@
-# Russian translation of xfce4-mpc-plugin.
-#
+# SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the xfce4-mpc-plugin
-# package.
-#
-# Andres Kovtunos kovtu...@yandex.ru, 2010.
-# Aleksandr Ponomarenko davian...@gmail.com, 2012.
-#
-
+# This file is distributed under the same license as the PACKAGE package.
+# 
+# Translators:
+# Aleksandr P davian...@gmail.com, 2012
+# Andres kovtu...@yandex.ru, 2010
+# Sergey Alyoshin alyoshi...@gmail.com, 2015
 msgid 
 msgstr 
-Project-Id-Version: xfce4-mpc-plugin\n
-Report-Msgid-Bugs-To: Xfce translations mailing list xfce-i...@xfce.org\n
-POT-Creation-Date: 2013-05-25 19:59+0400\n
-PO-Revision-Date: 2013-05-25 20:13+0400\n
+Project-Id-Version: Xfce Panel Plugins\n
+Report-Msgid-Bugs-To: \n
+POT-Creation-Date: 2015-03-05 00:31+0100\n
+PO-Revision-Date: 2015-03-07 17:52+\n
 Last-Translator: Sergey Alyoshin alyoshi...@gmail.com\n
-Language-Team: Russian xfce4-...@xfce.org\n
-Language: ru\n
+Language-Team: Russian 
(http://www.transifex.com/projects/p/xfce-panel-plugins/language/ru/)\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=UTF-8\n
 Content-Transfer-Encoding: 8bit\n
-X-Poedit-Language: Russian\n
-X-Poedit-SourceCharset: utf-8\n
-X-Poedit-Country: RUSSIAN FEDERATION\n
+Language: ru\n
+Plural-Forms: nplurals=3; plural=(n%10==1  n%100!=11 ? 0 : n%10=2  
n%10=4  (n%10010 || n%100=20) ? 1 : 2);\n
 
 #: ../panel-plugin/xfce4-mpc-plugin.c:137
 #: ../panel-plugin/xfce4-mpc-plugin.c:213
-#: ../panel-plugin/xfce4-mpc-plugin.c:758
+#: ../panel-plugin/xfce4-mpc-plugin.c:759
 msgid Launch
 msgstr Запустить
 
@@ -76,47 +72,46 @@ msgstr Переменные: %artist%, %album%, %track% и %title%
 
 #: ../panel-plugin/xfce4-mpc-plugin.c:331
 msgid 
-Variables : %vol%, %status%, %newline%, %artist%, %album%, %track% and %title
-%
-msgstr 
-Переменные: %vol%, %status%, %newline%, %artist%, %album%, %track% и %title%
+Variables : %vol%, %status%, %newline%, %artist%, %album%, %track% and 
+%title%
+msgstr Переменные: %vol%, %status%, %newline%, %artist%, %album%, %track% и 
%title%
 
 #: ../panel-plugin/xfce4-mpc-plugin.c:336
 msgid Show _frame
 msgstr Показывать _рамку
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:458
-#: ../panel-plugin/xfce4-mpc-plugin.c:689
+#: ../panel-plugin/xfce4-mpc-plugin.c:459
+#: ../panel-plugin/xfce4-mpc-plugin.c:690
 msgid  not connected ?
 msgstr ... не подключён?
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:542
+#: ../panel-plugin/xfce4-mpc-plugin.c:543
 msgid Mpd playlist
 msgstr Список воспроизведения MPD
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:754
+#: ../panel-plugin/xfce4-mpc-plugin.c:755
 msgid Random
 msgstr Случайный режим
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:756
+#: ../panel-plugin/xfce4-mpc-plugin.c:757
 msgid Repeat
 msgstr Повтор
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:761
+#: ../panel-plugin/xfce4-mpc-plugin.c:762
 msgid biCommands/i/b
 msgstr biКоманды/i/b
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:765
+#: ../panel-plugin/xfce4-mpc-plugin.c:766
 msgid biOutputs/i/b
 msgstr biРезультаты/i/b
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:789
+#: ../panel-plugin/xfce4-mpc-plugin.c:790
 msgid A simple panel-plugin client for Music Player Daemon
 msgstr Простой модуль клиента MPD для панели Xfce
 
-#: ../panel-plugin/xfce4-mpc-plugin.c:791
-msgid Copyright (c) 2006-2012 Landry Breuil\n
-msgstr Copyright © 2006 — 2011 Лэндри Брёйль\n
+#: ../panel-plugin/xfce4-mpc-plugin.c:792
+msgid Copyright (c) 2006-2015 Landry Breuil\n
+msgstr Copyright © 2006—2015 Landry Breuil\n
 
 #: ../panel-plugin/xfce4-mpc-plugin.desktop.in.h:1
 msgid MPD Client Plugin
@@ -125,9 +120,3 @@ msgstr Модуль клиента MPD
 #: ../panel-plugin/xfce4-mpc-plugin.desktop.in.h:2
 msgid A client for MPD, The Music Player Daemon
 msgstr Клиент для музыкального сервера MPD
-
-#~ msgid Xfce4 Mpc Plugin
-#~ msgstr Модуль MPC для Xfce4
-
-#~ msgid Maintainer, Original Author
-#~ msgstr Разработчик, автор

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/libxfce4ui] 01/01: Remove unused 'has_member' variable in xfce4-about (bug #11654)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/libxfce4ui.

commit 904e0c1e3cee078f34836ebfe92ffce57160087d
Author: Matt Thirtytwo matt.59...@gmail.com
Date:   Sat Mar 7 21:58:52 2015 +0100

Remove unused 'has_member' variable in xfce4-about (bug #11654)
---
 xfce4-about/main.c |4 
 1 file changed, 4 deletions(-)

diff --git a/xfce4-about/main.c b/xfce4-about/main.c
index 005607a..432138c 100644
--- a/xfce4-about/main.c
+++ b/xfce4-about/main.c
@@ -168,7 +168,6 @@ xfce_about_credits_translators (GtkTextBuffer *buffer,
   const TranslatorInfo *member;
   const TranslatorTeam *team;
   gchar*str;
-  gboolean  has_member;
   GtkTextTag   *coordinator;
 
   language = gtk_text_buffer_create_tag (buffer, language,
@@ -187,8 +186,6 @@ xfce_about_credits_translators (GtkTextBuffer *buffer,
   gtk_text_buffer_insert_with_tags (buffer, end, str, -1, language, NULL);
   g_free (str);
 
-  has_member = FALSE;
-
   for (member = team-members; member-name != NULL; member++)
 {
   italic = member-is_coordinator ? coordinator : NULL;
@@ -199,7 +196,6 @@ xfce_about_credits_translators (GtkTextBuffer *buffer,
   gtk_text_buffer_insert_with_tags (buffer, end, member-email, -1, 
email, italic, NULL);
   gtk_text_buffer_insert_with_tags (buffer, end, \n, -1, italic, 
NULL);
 
-  has_member = TRUE;
 }
 
   gtk_text_buffer_insert (buffer, end, \n, -1);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/libxfce4ui] branch master updated (54ec1af - 904e0c1)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

hjudt pushed a change to branch master
in repository xfce/libxfce4ui.

  from  54ec1af   Update NEWS
   new  904e0c1   Remove unused 'has_member' variable in xfce4-about (bug 
#11654)

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 xfce4-about/main.c |4 
 1 file changed, 4 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/exo] 01/01: Fix implicit declaration of function 'xfce_spawn_on_screen' (bug #11655)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/exo.

commit 4e68afc085d23bd77cf94e0e8e2e1435f0b4ebaa
Author: Matt Thirtytwo matt.59...@gmail.com
Date:   Sat Mar 7 22:23:45 2015 +0100

Fix implicit declaration of function 'xfce_spawn_on_screen' (bug #11655)

Also fix a few unused variable warnings.
---
 exo-helper/exo-helper.c |6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/exo-helper/exo-helper.c b/exo-helper/exo-helper.c
index aba3749..6931347 100644
--- a/exo-helper/exo-helper.c
+++ b/exo-helper/exo-helper.c
@@ -43,6 +43,7 @@
 #include unistd.h
 #endif
 
+#include libxfce4ui/libxfce4ui.h
 #include exo-helper/exo-helper.h
 #include exo-helper/exo-helper-utils.h
 
@@ -346,17 +347,12 @@ exo_helper_execute (ExoHelper   *helper,
 const gchar *parameter,
 GError **error)
 {
-  GTimeVal  previous;
-  GTimeVal  current;
   gboolean  succeed = FALSE;
   GError   *err = NULL;
   gchar   **commands;
   gchar   **argv;
   gchar*command;
   guint n;
-  gint  status;
-  gint  result;
-  gint  pid;
   const gchar  *real_parameter = parameter;
 
   g_return_val_if_fail (EXO_IS_HELPER (helper), FALSE);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [xfce/exo] branch master updated (62665f1 - 4e68afc)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

hjudt pushed a change to branch master
in repository xfce/exo.

  from  62665f1   I18n: Update translation de (100%).
   new  4e68afc   Fix implicit declaration of function 
'xfce_spawn_on_screen' (bug #11655)

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 exo-helper/exo-helper.c |6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] branch master updated (d84fbe6 - 06f8b30)

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

andrzejr pushed a change to branch master
in repository panel-plugins/xfce4-pulseaudio-plugin.

  from  d84fbe6   Added extra checks
   new  42eeba8   Fix the scale's slider behaving weird on click-drag with 
Gtk3.14
   new  3d42561   Fixed slider click/drag coordinate errors in Gtk3.14
   new  06f8b30   Removed unused IDO library dependency

The 3 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 configure.ac.in  |6 -
 panel-plugin/Makefile.am |2 --
 panel-plugin/scalemenuitem.c |   61 --
 3 files changed, 29 insertions(+), 40 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 03/03: Removed unused IDO library dependency

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

andrzejr pushed a commit to branch master
in repository panel-plugins/xfce4-pulseaudio-plugin.

commit 06f8b307b95ba71f43ce6be39abb8a12b1e9c814
Author: Andrzej ndrwr...@gmail.com
Date:   Sun Mar 8 03:55:11 2015 +

Removed unused IDO library dependency
---
 configure.ac.in  |6 --
 panel-plugin/Makefile.am |2 --
 2 files changed, 8 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 9f5a342..af1824c 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -84,11 +84,6 @@ XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.11.0])
 XDT_CHECK_PACKAGE([LIBXFCE4PANEL], 
[libxfce4panel-${LIBXFCE4PANEL_VERSION_API}], [4.11.0])
 XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.6.0])
 
-dnl 
-dnl *** Optional IDO library ***
-dnl 
-XDT_CHECK_OPTIONAL_PACKAGE([IDO], [libido3-0.1], [13.10.0], [ido], [IDO 
library])
-
 dnl **
 dnl *** Optional keybinder Support ***
 dnl **
@@ -143,6 +138,5 @@ echo Build Configuration:
 echo
 echo * Debug Support:  $enable_debug
 echo * Use keybinder:  ${KEYBINDER_FOUND:-no}
-echo * Use IDO library:${IDO_FOUND:-no}
 echo * Default Mixer command:  $DEFAULT_MIXER_COMMAND
 echo
diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 1a540d3..1de8e11 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -47,7 +47,6 @@ libpulseaudio_plugin_la_CFLAGS = \
$(LIBXFCE4UI_CFLAGS) \
$(LIBXFCE4PANEL_CFLAGS) \
$(XFCONF_CFLAGS) \
-   $(IDO_CFLAGS) \
$(KEYBINDER_CFLAGS) \
$(PLATFORM_CFLAGS)
 
@@ -66,7 +65,6 @@ libpulseaudio_plugin_la_LIBADD = \
$(LIBXFCE4UI_LIBS) \
$(LIBXFCE4PANEL_LIBS) \
$(XFCONF_LIBS) \
-   $(IDO_LIBS) \
$(KEYBINDER_LIBS) \
$(LIBM)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 01/03: Fix the scale's slider behaving weird on click-drag with Gtk3.14

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

andrzejr pushed a commit to branch master
in repository panel-plugins/xfce4-pulseaudio-plugin.

commit 42eeba826103eb0ab45de9c495cce56060a500c1
Author: Simon Steinbeiss simon.steinbe...@elfenbeinturm.at
Date:   Thu Mar 5 10:46:17 2015 +0100

Fix the scale's slider behaving weird on click-drag with Gtk3.14

This change was ported from libido upstream:

http://bazaar.launchpad.net/~indicator-applet-developers/ido/trunk.15.04/revision/187
---
 panel-plugin/scalemenuitem.c |   44 --
 1 file changed, 12 insertions(+), 32 deletions(-)

diff --git a/panel-plugin/scalemenuitem.c b/panel-plugin/scalemenuitem.c
index 49f9f9f..581bdf5 100644
--- a/panel-plugin/scalemenuitem.c
+++ b/panel-plugin/scalemenuitem.c
@@ -238,40 +238,22 @@ scale_menu_item_init (ScaleMenuItem *self)
 {
 }
 
-
-static void
-scale_menu_item_get_scale_allocation (ScaleMenuItem *menuitem,
-  GtkAllocation*allocation)
-{
-  ScaleMenuItemPrivate *priv = GET_PRIVATE (menuitem);
-  GtkAllocation parent_allocation;
-
-  gtk_widget_get_allocation (GTK_WIDGET (menuitem), parent_allocation);
-  gtk_widget_get_allocation (priv-scale, allocation);
-
-  allocation-x -= parent_allocation.x;
-  allocation-y -= parent_allocation.y;
-}
-
 static gboolean
 scale_menu_item_button_press_event (GtkWidget  *menuitem,
 GdkEventButton *event)
 {
   ScaleMenuItemPrivate *priv = GET_PRIVATE (menuitem);
   GtkAllocation alloc;
+  gint x, y;
 
   TRACE(entering);
 
-  scale_menu_item_get_scale_allocation (SCALE_MENU_ITEM (menuitem), alloc);
-
-  event-x -= alloc.x;
-  event-y -= alloc.y;
+  gtk_widget_get_allocation (priv-scale, alloc);
+  gtk_widget_translate_coordinates (menuitem, priv-scale, event-x, event-y, 
x, y);
 
-  event-x_root -= alloc.x;
-  event-y_root -= alloc.y;
-
-  gtk_widget_event (priv-scale,
-((GdkEvent *)(void*)(event)));
+  if (x  0  x  alloc.width  y  0  y  alloc.height)
+gtk_widget_event (priv-scale,
+  ((GdkEvent *)(void*)(event)));
 
   if (!priv-grabbed)
 {
@@ -309,16 +291,14 @@ scale_menu_item_motion_notify_event (GtkWidget  
*menuitem,
   ScaleMenuItemPrivate *priv = GET_PRIVATE (menuitem);
   GtkWidget *scale = priv-scale;
   GtkAllocation alloc;
+  gint x, y;
 
-  scale_menu_item_get_scale_allocation (SCALE_MENU_ITEM (menuitem), alloc);
-
-  event-x -= alloc.x;
-  event-y -= alloc.y;
-
-  event-x_root -= alloc.x;
-  event-y_root -= alloc.y;
+  gtk_widget_get_allocation (priv-scale, alloc);
+  gtk_widget_translate_coordinates (menuitem, priv-scale, event-x, event-y, 
x, y);
 
-  gtk_widget_event (scale, (GdkEvent*)event);
+  if (priv-grabbed ||
+  (x  0  x  alloc.width  y  0  y  alloc.height))
+gtk_widget_event (scale, (GdkEvent*) event);
 
   return TRUE;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits


[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 02/03: Fixed slider click/drag coordinate errors in Gtk3.14

2015-03-07 Thread noreply
This is an automated email from the git hooks/post-receive script.

andrzejr pushed a commit to branch master
in repository panel-plugins/xfce4-pulseaudio-plugin.

commit 3d425611c7e5a282250c738184a6566ec2c9ffb9
Author: Andrzej ndrwr...@gmail.com
Date:   Sun Mar 8 03:50:45 2015 +

Fixed slider click/drag coordinate errors in Gtk3.14

GdkEvent coordinates should be refer to GdkWindow and indeed
in Gtk3.14 that is the case so no extra translation is needed.
However, in Gtk3.12, the coordinates refer to the slider widget,
even though it has no GdkWindow associated with it.
TBC if there is a better way of handling this, but Gtk version
checking works well.
---
 panel-plugin/scalemenuitem.c |   27 ++-
 1 file changed, 22 insertions(+), 5 deletions(-)

diff --git a/panel-plugin/scalemenuitem.c b/panel-plugin/scalemenuitem.c
index 581bdf5..5006dde 100644
--- a/panel-plugin/scalemenuitem.c
+++ b/panel-plugin/scalemenuitem.c
@@ -252,8 +252,14 @@ scale_menu_item_button_press_event (GtkWidget  
*menuitem,
   gtk_widget_translate_coordinates (menuitem, priv-scale, event-x, event-y, 
x, y);
 
   if (x  0  x  alloc.width  y  0  y  alloc.height)
-gtk_widget_event (priv-scale,
-  ((GdkEvent *)(void*)(event)));
+{
+#if !(GTK_CHECK_VERSION (3, 14, 0))
+  /* event coordinates are supposed to refer to GdkWindow but for some 
reason in Gtk+-3.12(?) they refer to the widget */
+  event-x = (gdouble) x;
+  event-y = (gdouble) y;
+#endif
+  gtk_widget_event (priv-scale, (GdkEvent*) event);
+}
 
   if (!priv-grabbed)
 {
@@ -269,9 +275,15 @@ scale_menu_item_button_release_event (GtkWidget *menuitem,
   GdkEventButton *event)
 {
   ScaleMenuItemPrivate *priv = GET_PRIVATE (menuitem);
+  gint x, y;
 
   TRACE(entering);
 
+#if !(GTK_CHECK_VERSION (3, 14, 0))
+  gtk_widget_translate_coordinates (menuitem, priv-scale, event-x, event-y, 
x, y);
+  event-x = (gdouble) x;
+  event-y = (gdouble) y;
+#endif
   gtk_widget_event (priv-scale, (GdkEvent*)event);
 
   if (priv-grabbed)
@@ -296,9 +308,14 @@ scale_menu_item_motion_notify_event (GtkWidget  
*menuitem,
   gtk_widget_get_allocation (priv-scale, alloc);
   gtk_widget_translate_coordinates (menuitem, priv-scale, event-x, event-y, 
x, y);
 
-  if (priv-grabbed ||
-  (x  0  x  alloc.width  y  0  y  alloc.height))
-gtk_widget_event (scale, (GdkEvent*) event);
+  if (x  0  x  alloc.width  y  0  y  alloc.height)
+{
+#if !(GTK_CHECK_VERSION (3, 14, 0))
+  event-x = (gdouble) x;
+  event-y = (gdouble) y;
+#endif
+  gtk_widget_event (scale, (GdkEvent*) event);
+}
 
   return TRUE;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
___
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits