[Xfce4-commits] [apps/xfce4-taskmanager] 08/11: Always check if the graph is too small to draw it

2014-12-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

peter pushed a commit to branch master
in repository apps/xfce4-taskmanager.

commit cd1309d97f34fdde575e44e40be2653a443a20ca
Author: Simon Steinbeiss simon.steinbe...@elfenbeinturm.at
Date:   Fri Dec 19 12:06:50 2014 +0100

Always check if the graph is too small to draw it
---
 src/process-monitor.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/process-monitor.c b/src/process-monitor.c
index 7c8af0c..d0e8d7e 100644
--- a/src/process-monitor.c
+++ b/src/process-monitor.c
@@ -223,10 +223,10 @@ xtm_process_monitor_paint (XtmProcessMonitor *monitor, 
cairo_t *cr)
 #else
width = GTK_WIDGET (monitor)-allocation.width;
height = GTK_WIDGET (monitor)-allocation.height;
+#endif
/* Don't draw anything if the graph is too small */
if (height  3)
return;
-#endif
 
/* Paint the graph's background box */
cairo_rectangle (cr, 0.0, 0.0, width, height);

-- 
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] 03/04: Removed unnecessary include

2014-12-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

andrzejr pushed a commit to branch master
in repository xfce/thunar.

commit 9e9da205c2aeb8a2e6e7e5c594abadc9a9216179
Author: Andre Miranda andreldm1...@gmail.com
Date:   Thu Dec 18 22:51:22 2014 -0300

Removed unnecessary include
---
 thunar/thunar-file.c |1 -
 1 file changed, 1 deletion(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 25567df..60fe3e7 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -67,7 +67,6 @@
 #include thunar/thunar-util.h
 #include thunar/thunar-dialogs.h
 #include thunar/thunar-icon-factory.h
-#include thunar/thunar-preferences.h
 
 
 

-- 
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-panel] 01/01: Revert Make panel hide intelligently with shaded windows (bug #11371)

2014-12-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

andrzejr pushed a commit to branch master
in repository xfce/xfce4-panel.

commit 53f17e4b64392d7c60f4cffc21bf63ad03839b54
Author: Andrzej ndrwr...@gmail.com
Date:   Sat Dec 20 00:37:35 2014 +

Revert Make panel hide intelligently with shaded windows (bug #11371)

This reverts commit 75ed12ce2e4d5d13781fca9179268bce958f9596.
---
 panel/panel-window.c |   49 -
 1 file changed, 49 deletions(-)

diff --git a/panel/panel-window.c b/panel/panel-window.c
index b2868e5..52f9f09 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -31,7 +31,6 @@
 #ifdef GDK_WINDOWING_X11
 #include gdk/gdkx.h
 #include X11/Xlib.h
-#include X11/Xatom.h
 #endif
 
 #include libwnck/libwnck.h
@@ -137,10 +136,6 @@ static void panel_window_active_window_changed 
 (WnckScreen
  PanelWindow   
   *window);
 static void panel_window_active_window_geometry_changed (WnckWindow
   *active_window,
  PanelWindow   
   *window);
-static void panel_window_active_window_state_changed(WnckWindow
   *active_window,
- 
WnckWindowState   changed,
- 
WnckWindowState   new,
- PanelWindow   
   *window);
 static void panel_window_autohide_queue (PanelWindow   
   *window,
  AutohideState 
new_state);
 static void panel_window_set_autohide_behavior  (PanelWindow   
   *window,
@@ -2177,32 +2172,6 @@ panel_window_active_window_geometry_changed (WnckWindow  
*active_window,
 window_area.x, window_area.y,
 window_area.width, window_area.height);
 
-  /* if a window is shaded, check the height of the window's
-   * decoration as exposed through the _NET_FRAME_EXTENTS application
-   * window property */
-  if (wnck_window_is_shaded (active_window))
-  {
-Display *display;
-Atom real_type;
-int real_format;
-unsigned long items_read, items_left;
-guint32 *data;
-
-display = XOpenDisplay(0);
-if (XGetWindowProperty (display, wnck_window_get_xid 
(active_window),
-XInternAtom(display, _NET_FRAME_EXTENTS, 
True),
-0, 4, FALSE, AnyPropertyType,
-real_type, real_format, items_read, 
items_left,
-(unsigned char **) data) == Success
- (items_read = 4))
-  window_area.height = data[2] + data[3];
-
-if (data)
-{
-  XFree (data);
-}
-  }
-
   /* obtain position and dimension from the panel */
   panel_window_size_allocate_set_xy (window,
  window-alloc.width,
@@ -2238,20 +2207,6 @@ panel_window_active_window_geometry_changed (WnckWindow  
*active_window,
 
 
 
-static void
-panel_window_active_window_state_changed (WnckWindow  *active_window,
- WnckWindowState changed,
- WnckWindowState new,
- PanelWindow *window)
-{
-  panel_return_if_fail (WNCK_IS_WINDOW (active_window));
-
-  if (changed  WNCK_WINDOW_STATE_SHADED)
-panel_window_active_window_geometry_changed (active_window, window);
-}
-
-
-
 static gboolean
 panel_window_autohide_timeout (gpointer user_data)
 {
@@ -2529,8 +2484,6 @@ panel_window_update_autohide_window (PanelWindow *window,
 {
   g_signal_handlers_disconnect_by_func (window-wnck_active_window,
   panel_window_active_window_geometry_changed, window);
-  g_signal_handlers_disconnect_by_func (window-wnck_active_window,
-  panel_window_active_window_state_changed, window);
 }
 
   /* remember the new window */
@@ -2541,8 +2494,6 @@ panel_window_update_autohide_window (PanelWindow *window,
 {
   g_signal_connect (G_OBJECT (active_window), geometry-changed,
   G_CALLBACK (panel_window_active_window_geometry_changed), 
window);
-  g_signal_connect (G_OBJECT (active_window), state-changed,
-  G_CALLBACK (panel_window_active_window_state_changed), window);
 
   /* simulate a geometry change for immediate hiding when the new 
active
* window already overlaps the panel */

-- 
To stop receiving 

[Xfce4-commits] [apps/xfce4-screenshooter] branch master updated (85d99d9 - c3f4fd9)

2014-12-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a change to branch master
in repository apps/xfce4-screenshooter.

  from  85d99d9   I18n: Update translation pl (95%).
   new  c3f4fd9   I18n: Update translation es (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/es.po |  233 ++
 1 file changed, 81 insertions(+), 152 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/xfce4-screenshooter] 01/01: I18n: Update translation es (100%).

2014-12-19 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a commit to branch master
in repository apps/xfce4-screenshooter.

commit c3f4fd9f0120c1cd83f7ba3213a4fabcf48416de
Author: Pablo Roberto Francisco Lezaeta Reyes prfl...@gmail.com
Date:   Sat Dec 20 06:31:10 2014 +0100

I18n: Update translation es (100%).

60 translated messages.

Transifex (https://www.transifex.com/projects/p/xfce/).
---
 po/es.po |  233 ++
 1 file changed, 81 insertions(+), 152 deletions(-)

diff --git a/po/es.po b/po/es.po
index ef20dac..2490ba8 100644
--- a/po/es.po
+++ b/po/es.po
@@ -10,8 +10,8 @@ msgid 
 msgstr 
 Project-Id-Version: Xfce Apps\n
 Report-Msgid-Bugs-To: \n
-POT-Creation-Date: 2014-05-05 18:31+0200\n
-PO-Revision-Date: 2014-08-03 06:11+\n
+POT-Creation-Date: 2014-12-17 00:31+0100\n
+PO-Revision-Date: 2014-12-20 03:25+\n
 Last-Translator: Pablo Roberto Francisco Lezaeta Reyes prfl...@gmail.com\n
 Language-Team: Spanish 
(http://www.transifex.com/projects/p/xfce-apps/language/es/)\n
 MIME-Version: 1.0\n
@@ -20,141 +20,149 @@ msgstr 
 Language: es\n
 Plural-Forms: nplurals=2; plural=(n != 1);\n
 
-#: ../lib/screenshooter-dialogs.c:453
+#: ../lib/screenshooter-dialogs.c:463
 #, c-format
 msgid %.2fKb of %.2fKb
 msgstr %.2f Kb de %.2f Kb
 
-#: ../lib/screenshooter-dialogs.c:539
+#: ../lib/screenshooter-dialogs.c:549
 msgid Transfer
 msgstr Trasferencia
 
-#: ../lib/screenshooter-dialogs.c:560
+#: ../lib/screenshooter-dialogs.c:570
 msgid 
 span weight=\bold\ stretch=\semiexpanded\The screenshot is being 
 transferred to:/span
 msgstr span weight=\bold\ stretch=\semiexpanded\Se está trasfiriendo la 
captura a:/span
 
-#: ../lib/screenshooter-dialogs.c:682 ../lib/screenshooter-dialogs.c:699
-#: ../lib/screenshooter-dialogs.c:891 ../lib/screenshooter-utils.c:64
+#: ../lib/screenshooter-dialogs.c:692 ../lib/screenshooter-dialogs.c:709
+#: ../lib/screenshooter-dialogs.c:902 ../lib/screenshooter-utils.c:64
 #: ../lib/screenshooter-utils.c:96
 #: ../src/xfce4-screenshooter.desktop.in.in.h:1
 #: ../panel-plugin/screenshooter.desktop.in.h:1
 msgid Screenshot
 msgstr Captura de pantalla
 
-#: ../lib/screenshooter-dialogs.c:694
+#: ../lib/screenshooter-dialogs.c:704
 msgid Take a screenshot
 msgstr Tome una captura de pantalla
 
-#: ../lib/screenshooter-dialogs.c:709
+#: ../lib/screenshooter-dialogs.c:719
 msgid Preferences
 msgstr Preferencias
 
-#: ../lib/screenshooter-dialogs.c:740
+#: ../lib/screenshooter-dialogs.c:750
 msgid span weight=\bold\ stretch=\semiexpanded\Region to capture/span
 msgstr span weight=\bold\ stretch=\semiexpanded\Zona a capturar/span
 
-#: ../lib/screenshooter-dialogs.c:760
+#: ../lib/screenshooter-dialogs.c:770
 msgid Entire screen
 msgstr Toda la pantalla
 
-#: ../lib/screenshooter-dialogs.c:767 ../src/main.c:59
-#: ../panel-plugin/screenshooter-plugin.c:317
+#: ../lib/screenshooter-dialogs.c:777 ../src/main.c:60
+#: ../panel-plugin/screenshooter-plugin.c:318
 msgid Take a screenshot of the entire screen
 msgstr Tomar una captura de toda la pantalla
 
-#: ../lib/screenshooter-dialogs.c:775
+#: ../lib/screenshooter-dialogs.c:785
 msgid Active window
 msgstr Ventana activa
 
-#: ../lib/screenshooter-dialogs.c:782 ../src/main.c:96
-#: ../panel-plugin/screenshooter-plugin.c:322
+#: ../lib/screenshooter-dialogs.c:792 ../src/main.c:102
+#: ../panel-plugin/screenshooter-plugin.c:323
 msgid Take a screenshot of the active window
 msgstr Tomar una captura de la ventana activa
 
-#: ../lib/screenshooter-dialogs.c:790
+#: ../lib/screenshooter-dialogs.c:800
 msgid Select a region
 msgstr Seleccionar una región
 
-#: ../lib/screenshooter-dialogs.c:795 ../src/main.c:74
-#: ../panel-plugin/screenshooter-plugin.c:327
+#: ../lib/screenshooter-dialogs.c:805 ../src/main.c:75
+#: ../panel-plugin/screenshooter-plugin.c:328
 msgid 
 Select a region to be captured by clicking a point of the screen without 
 releasing the mouse button, dragging your mouse to the other corner of the 
 region, and releasing the mouse button.
 msgstr Seleccione una región que capturar pulsando en un punto de la pantalla 
sin soltar el botón del ratón, arrastrando el ratón a la otra esquina de la 
región y soltando el botón del ratón.
 
-#: ../lib/screenshooter-dialogs.c:805
+#: ../lib/screenshooter-dialogs.c:815
 msgid Capture the mouse pointer
 msgstr Capturar el puntero del ratón
 
-#: ../lib/screenshooter-dialogs.c:810
+#: ../lib/screenshooter-dialogs.c:820
 msgid Display the mouse pointer on the screenshot
 msgstr Mostrar el puntero del ratón en la captura
 
-#: ../lib/screenshooter-dialogs.c:826
+#: ../lib/screenshooter-dialogs.c:836
 msgid span weight=\bold\ stretch=\semiexpanded\Delay before 
capturing/span
 msgstr span weight=\bold\ stretch=\semiexpanded\Retraso antes de 
capturar/span
 
-#: ../lib/screenshooter-dialogs.c:848
+#: ../lib/screenshooter-dialogs.c:858
 msgid Delay in seconds before the screenshot is taken