[Xfce4-commits] [apps/xfdashboard] branch master updated (aef30c8 -> 5c1ea09)

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

nomad pushed a 
change to branch 
master
in repository apps/xfdashboard.

  from  aef30c8   Fix typo
   new  5c1ea09   Fix typo

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:
 libxfdashboard/desktop-app-info.c | 6 +++---
 1 file changed, 3 insertions(+), 3 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/xfdashboard] 01/01: Fix typo

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

nomad pushed a 
commit to branch 
master
in repository apps/xfdashboard.

commit 5c1ea09e09d087225703abede8f01f9e3f53c2ca
Author: Stephan Haller 
Date:   Thu Nov 23 06:29:55 2017 +0100

Fix typo
---
 libxfdashboard/desktop-app-info.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libxfdashboard/desktop-app-info.c 
b/libxfdashboard/desktop-app-info.c
index 69c9ed2..9c575c3 100644
--- a/libxfdashboard/desktop-app-info.c
+++ b/libxfdashboard/desktop-app-info.c
@@ -170,7 +170,7 @@ static gboolean 
_xfdashboard_desktop_app_info_load_secondary_source(XfdashboardD
 }
 
 /* Get or update path to executable file for this application */
-static void 
__xfdashboard_desktop_app_info_update_binary_executable(XfdashboardDesktopAppInfo
 *self)
+static void 
_xfdashboard_desktop_app_info_update_binary_executable(XfdashboardDesktopAppInfo
 *self)
 {
XfdashboardDesktopAppInfoPrivate*priv;
 
@@ -595,7 +595,7 @@ static void 
_xfdashboard_desktop_app_info_set_file(XfdashboardDesktopAppInfo *se
}
 
/* Get path to executable file for this application */
-   __xfdashboard_desktop_app_info_update_binary_executable(self);
+   _xfdashboard_desktop_app_info_update_binary_executable(self);
 
/* Set flag to reload application actions and keywords. They 
will be
 * cleared and (re-)loaded on-demand.
@@ -1832,7 +1832,7 @@ gboolean 
xfdashboard_desktop_app_info_reload(XfdashboardDesktopAppInfo *self)
}
 
/* Update path to executable file for this application */
-   __xfdashboard_desktop_app_info_update_binary_executable(self);
+   _xfdashboard_desktop_app_info_update_binary_executable(self);
 
/* Set flag to reload application actions and keywords. They 
will be
 * cleared and (re-)loaded on-demand.

-- 
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 (826033c -> 3892875)

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

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

  from  826033c   Simplify device menus, move below volume controls and 
hide if only 1 item
   new  3892875   Control MPRIS with multimedia key integration

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:
 panel-plugin/pulseaudio-config.c |  50 -
 panel-plugin/pulseaudio-config.h |   1 +
 panel-plugin/pulseaudio-dialog.c |  10 +++
 panel-plugin/pulseaudio-dialog.glade |  40 +--
 panel-plugin/pulseaudio-mpris.c  |  29 
 panel-plugin/pulseaudio-mpris.h  |   5 +-
 panel-plugin/pulseaudio-plugin.c | 135 ++-
 7 files changed, 260 insertions(+), 10 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] 01/01: Control MPRIS with multimedia key integration

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

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

commit 3892875b8dceb65ddfcad4091a95cd22725d4cc7
Author: Sean Davis 
Date:   Wed Nov 22 22:01:12 2017 -0500

Control MPRIS with multimedia key integration
---
 panel-plugin/pulseaudio-config.c |  50 -
 panel-plugin/pulseaudio-config.h |   1 +
 panel-plugin/pulseaudio-dialog.c |  10 +++
 panel-plugin/pulseaudio-dialog.glade |  40 +--
 panel-plugin/pulseaudio-mpris.c  |  29 
 panel-plugin/pulseaudio-mpris.h  |   5 +-
 panel-plugin/pulseaudio-plugin.c | 135 ++-
 7 files changed, 260 insertions(+), 10 deletions(-)

diff --git a/panel-plugin/pulseaudio-config.c b/panel-plugin/pulseaudio-config.c
index 92537e6..04f0ebe 100644
--- a/panel-plugin/pulseaudio-config.c
+++ b/panel-plugin/pulseaudio-config.c
@@ -51,8 +51,10 @@
 
 #ifdef HAVE_MPRIS2
 #define DEFAULT_ENABLE_MPRIS  TRUE
+#define DEFAULT_ENABLE_MULTIMEDIA_KEYSTRUE
 #else
 #define DEFAULT_ENABLE_MPRIS  FALSE
+#define DEFAULT_ENABLE_MULTIMEDIA_KEYSFALSE
 #endif
 
 #define DEFAULT_MPRIS_PLAYERS ""
@@ -81,6 +83,7 @@ struct _PulseaudioConfig
   GObject  __parent__;
 
   gboolean enable_keyboard_shortcuts;
+  gboolean enable_multimedia_keys;
   gboolean show_notifications;
   guintvolume_step;
   guintvolume_max;
@@ -95,6 +98,7 @@ enum
   {
 PROP_0,
 PROP_ENABLE_KEYBOARD_SHORTCUTS,
+PROP_ENABLE_MULTIMEDIA_KEYS,
 PROP_SHOW_NOTIFICATIONS,
 PROP_VOLUME_STEP,
 PROP_VOLUME_MAX,
@@ -137,6 +141,15 @@ pulseaudio_config_class_init (PulseaudioConfigClass *klass)
 
 
   g_object_class_install_property (gobject_class,
+   PROP_ENABLE_MULTIMEDIA_KEYS,
+   g_param_spec_boolean 
("enable-multimedia-keys", NULL, NULL,
+ 
DEFAULT_ENABLE_MULTIMEDIA_KEYS,
+ G_PARAM_READWRITE |
+ 
G_PARAM_STATIC_STRINGS));
+
+
+
+  g_object_class_install_property (gobject_class,
PROP_SHOW_NOTIFICATIONS,
g_param_spec_boolean ("show-notifications", 
NULL, NULL,
  
DEFAULT_SHOW_NOTIFICATIONS,
@@ -207,6 +220,7 @@ static void
 pulseaudio_config_init (PulseaudioConfig *config)
 {
   config->enable_keyboard_shortcuts = DEFAULT_ENABLE_KEYBOARD_SHORTCUTS;
+  config->enable_multimedia_keys= DEFAULT_ENABLE_MULTIMEDIA_KEYS;
   config->show_notifications= DEFAULT_SHOW_NOTIFICATIONS;
   config->volume_step   = DEFAULT_VOLUME_STEP;
   config->volume_max= DEFAULT_VOLUME_MAX;
@@ -244,6 +258,10 @@ pulseaudio_config_get_property (GObject*object,
   g_value_set_boolean (value, config->enable_keyboard_shortcuts);
   break;
 
+case PROP_ENABLE_MULTIMEDIA_KEYS:
+  g_value_set_boolean (value, config->enable_multimedia_keys);
+  break;
+
 case PROP_SHOW_NOTIFICATIONS:
   g_value_set_boolean (value, config->show_notifications);
   break;
@@ -298,6 +316,16 @@ pulseaudio_config_set_property (GObject  *object,
 }
   break;
 
+case PROP_ENABLE_MULTIMEDIA_KEYS:
+  val_bool = g_value_get_boolean (value);
+  if (config->enable_multimedia_keys != val_bool)
+{
+  config->enable_multimedia_keys = val_bool;
+  g_object_notify (G_OBJECT (config), "enable-multimedia-keys");
+  g_signal_emit (G_OBJECT (config), pulseaudio_config_signals 
[CONFIGURATION_CHANGED], 0);
+}
+  break;
+
 case PROP_SHOW_NOTIFICATIONS:
   val_bool = g_value_get_boolean (value);
   if (config->show_notifications != val_bool)
@@ -339,7 +367,14 @@ pulseaudio_config_set_property (GObject  *object,
 {
   config->enable_mpris = val_bool;
   g_object_notify (G_OBJECT (config), "enable-mpris");
-  g_signal_emit (G_OBJECT (config), pulseaudio_config_signals 
[CONFIGURATION_CHANGED], 0);
+
+  if (!config->enable_mpris)
+{
+  config->enable_multimedia_keys = FALSE;
+  g_object_notify(G_OBJECT(config), "enable-multimedia-keys");
+}
+
+  g_signal_emit(G_OBJECT(config), 
pulseaudio_config_signals[CONFIGURATION_CHANGED], 0);
 }
   break;
 
@@ -369,6 +404,15 @@ pulseaudio_config_get_enable_keyboard_shortcuts 
(PulseaudioConfig *config)
 
 
 
+gboolean

[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 01/01: Simplify device menus, move below volume controls and hide if only 1 item

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

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

commit 826033cd9189ef4a9301fa4d5a4d8e7fd597a45c
Author: Sean Davis 
Date:   Wed Nov 22 20:14:43 2017 -0500

Simplify device menus, move below volume controls and hide if only 1 item
---
 panel-plugin/devicemenuitem.c  | 25 ++---
 panel-plugin/pulseaudio-menu.c | 64 +++---
 2 files changed, 37 insertions(+), 52 deletions(-)

diff --git a/panel-plugin/devicemenuitem.c b/panel-plugin/devicemenuitem.c
index 2b7bfa4..0032f3e 100644
--- a/panel-plugin/devicemenuitem.c
+++ b/panel-plugin/devicemenuitem.c
@@ -59,9 +59,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS
 static void   device_menu_item_finalize(GObject *object);
 static void   device_menu_item_device_toggled  (DeviceMenuItem   *item,
 GtkCheckMenuItem 
*menu_item);
-static void   gtk_label_set_markup_printf_escaped  (GtkLabel*label,
-const gchar *format,
-...);
 
 
 
@@ -124,24 +121,6 @@ device_menu_item_add_device (DeviceMenuItem *item,
 
 
 
-static void
-gtk_label_set_markup_printf_escaped (GtkLabel*label,
- const gchar *format,
- ...)
-{
-  va_list args;
-  gchar *str;
-
-  va_start (args, format);
-  str = g_markup_vprintf_escaped (format, args);
-  gtk_label_set_markup (label, str);
-  va_end (args);
-
-  g_free (str);
-}
-
-
-
 void
 device_menu_item_set_device_by_name (DeviceMenuItem *item,
  const gchar*name)
@@ -161,7 +140,7 @@ device_menu_item_set_device_by_name (DeviceMenuItem *item,
 if (g_strcmp0 (name, (gchar *)g_object_get_data (G_OBJECT(iter->data), 
"name")) == 0)
   {
 /* TRANSLATORS: {Input/Output} ({Device Name}) */
-gtk_label_set_markup_printf_escaped (GTK_LABEL (priv->label), _("%s 
(%s)"), priv->title, gtk_menu_item_get_label (GTK_MENU_ITEM (iter->data)));
+gtk_label_set_markup (GTK_LABEL (priv->label), gtk_menu_item_get_label 
(GTK_MENU_ITEM (iter->data)));
 gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (iter->data), 
TRUE);
 markup_set = TRUE;
   } else {
@@ -170,7 +149,7 @@ device_menu_item_set_device_by_name (DeviceMenuItem *item,
   }
 
   if (!markup_set)
-gtk_label_set_markup_printf_escaped (GTK_LABEL (priv->label), "%s", 
priv->title);
+gtk_label_set_markup (GTK_LABEL (priv->label), priv->title);
 
   g_list_free (children);
 }
diff --git a/panel-plugin/pulseaudio-menu.c b/panel-plugin/pulseaudio-menu.c
index 8ae0afc..e1c5e58 100644
--- a/panel-plugin/pulseaudio-menu.c
+++ b/panel-plugin/pulseaudio-menu.c
@@ -443,19 +443,6 @@ pulseaudio_menu_new (PulseaudioVolume *volume,
   /* Output Devices */
   sources = pulseaudio_volume_get_output_list (menu->volume);
   if (g_list_length (sources) > 0) {
-device_mi = device_menu_item_new_with_label (_("Output"));
-
-for (GList *list = sources; list != NULL; list = g_list_next (list)) {
-  device_menu_item_add_device (DEVICE_MENU_ITEM (device_mi), (gchar 
*)list->data, pulseaudio_volume_get_output_by_name (menu->volume, list->data));
-}
-
-device_menu_item_set_device_by_name (DEVICE_MENU_ITEM (device_mi), 
pulseaudio_volume_get_default_output (menu->volume));
-gtk_widget_show (device_mi);
-
-g_signal_connect_swapped (G_OBJECT (device_mi), "device-changed", 
G_CALLBACK (pulseaudio_menu_default_output_changed), menu);
-
-gtk_menu_shell_append (GTK_MENU_SHELL (menu), device_mi);
-
 /* output volume slider */
 menu->output_scale = scale_menu_item_new_with_range (0.0, volume_max, 1.0);
 scale_menu_item_set_base_icon_name (SCALE_MENU_ITEM (menu->output_scale), 
"audio-volume");
@@ -467,6 +454,22 @@ pulseaudio_menu_new (PulseaudioVolume *volume,
 gtk_widget_show_all (menu->output_scale);
 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu->output_scale);
 
+/* output device items */
+if (g_list_length (sources) > 1) {
+  device_mi = device_menu_item_new_with_label(_("Output"));
+  for (GList *list = sources; list != NULL; list = g_list_next(list))
+  {
+device_menu_item_add_device(DEVICE_MENU_ITEM(device_mi), (gchar 
*)list->data, pulseaudio_volume_get_output_by_name(menu->volume, list->data));
+  }
+
+  device_menu_item_set_device_by_name(DEVICE_MENU_ITEM(device_mi), 
pulseaudio_volume_get_default_output(menu->volume));
+  gtk_widget_show(device_mi);
+
+  g_signal_connect_swapped(G_OBJECT(device_mi), "device-changed", 
G_CALLBACK(pulseaudio_menu_default_output_changed), menu);
+
+  

[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] branch master updated (f96e213 -> 826033c)

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

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

  from  f96e213   Show volume change notifications when triggered without 
multimedia keys (bug #13677)
   new  826033c   Simplify device menus, move below volume controls and 
hide if only 1 item

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:
 panel-plugin/devicemenuitem.c  | 25 ++---
 panel-plugin/pulseaudio-menu.c | 64 +++---
 2 files changed, 37 insertions(+), 52 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-verve-plugin] 04/05: Use CSS to customize background and foreground colors

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a commit to branch 
isaacschemm/gtk3
in repository panel-plugins/xfce4-verve-plugin.

commit 261ff4207eee84f5e1c579012f935861e82834e3
Author: Isaac Schemm 
Date:   Fri Nov 17 19:56:56 2017 -0600

Use CSS to customize background and foreground colors
---
 panel-plugin/verve-plugin.c | 36 +++-
 1 file changed, 35 insertions(+), 1 deletion(-)

diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index ab5047f..73691ad 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -54,9 +54,11 @@ typedef struct
   GtkWidget*event_box;
   GtkWidget*label;
   GtkWidget*input;
+  
   gchar*fg_color_str;
   gchar*bg_color_str;
   gchar*base_color_str;
+  GtkCssProvider   *input_css;
   
   /* Command history */
   GList*history_current;
@@ -538,6 +540,10 @@ verve_plugin_new (XfcePanelPlugin *plugin)
   gtk_widget_show (verve->input);
   gtk_container_add (GTK_CONTAINER (hbox), verve->input);
 
+  /* Set up a CSS provider for the entry */
+  verve->input_css = gtk_css_provider_new ();
+  gtk_style_context_add_provider (gtk_widget_get_style_context (verve->input), 
verve->input_css, GTK_STYLE_PROVIDER_PRIORITY_SETTINGS);
+
   /* Handle mouse button and key press events */
   g_signal_connect (verve->input, "key-press-event", G_CALLBACK 
(verve_plugin_keypress_cb), verve);
   g_signal_connect (verve->input, "button-press-event", G_CALLBACK 
(verve_plugin_buttonpress_cb), verve);
@@ -628,6 +634,18 @@ verve_plugin_update_label (XfcePanelPlugin *plugin,
 
 
 static gboolean
+write_string (GOutputStream *output_stream,
+  const gchar   *str1,
+  const gchar   *str2)
+{
+  gsize bytes_written;
+  const char* str = str1 && str1[0] ? str1 : str2;
+  return g_output_stream_write_all (output_stream, str, strlen (str), 
_written, NULL, NULL);
+}
+
+
+
+static gboolean
 verve_plugin_update_colors (XfcePanelPlugin *plugin,
 const gchar *fg_color_str,
 const gchar *bg_color_str,
@@ -636,25 +654,41 @@ verve_plugin_update_colors (XfcePanelPlugin *plugin,
 {
   g_return_val_if_fail (verve != NULL, FALSE);
 
-  GdkColor c;
+  GFileIOStream *tmp_file_stream;
+  GFile *tmp_file = g_file_new_tmp (NULL, _file_stream, NULL);
+  GOutputStream *output_stream = g_io_stream_get_output_stream 
(tmp_file_stream);
+
+  // Write CSS to temporary file
+  write_string (output_stream, "*{color:", "");
   if (fg_color_str) {
 if (verve->fg_color_str) {
   g_free (verve->fg_color_str);
 }
 verve->fg_color_str = g_strdup (fg_color_str);
   }
+  write_string (output_stream, verve->fg_color_str, "unset");
   if (bg_color_str) {
 if (verve->bg_color_str) {
   g_free (verve->bg_color_str);
 }
 verve->bg_color_str = g_strdup (bg_color_str);
   }
+  write_string (output_stream, ";background-color:", "");
   if (base_color_str) {
 if (verve->base_color_str) {
   g_free (verve->base_color_str);
 }
 verve->base_color_str = g_strdup (base_color_str);
   }
+  write_string (output_stream, verve->base_color_str, "unset");
+  write_string (output_stream, "}", "");
+
+  g_io_stream_close (tmp_file_stream, NULL, NULL);
+
+  gtk_css_provider_load_from_file (verve->input_css, tmp_file, NULL);
+  g_file_delete (tmp_file, NULL, NULL);
+
+  g_object_unref (tmp_file);
 
   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-verve-plugin] 03/05: Remove verve-focus flashing

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a commit to branch 
isaacschemm/gtk3
in repository panel-plugins/xfce4-verve-plugin.

commit b38ecd1c90760e0a5d924c62d2beb8b44b34822c
Author: Isaac Schemm 
Date:   Fri Nov 17 19:08:43 2017 -0600

Remove verve-focus flashing
---
 panel-plugin/verve-plugin.c | 58 -
 1 file changed, 58 deletions(-)

diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index cf54f07..ab5047f 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -73,9 +73,6 @@ typedef struct
   gint  history_length;
   VerveLaunchParams launch_params;
 
-  /* Default GTK style - to restore after blinking upon verve-focus */
-  GtkStyle *default_style;
-
 #ifdef HAVE_DBUS
   VerveDBusService *dbus_service;
 #endif
@@ -124,20 +121,6 @@ verve_plugin_load_completion (VerveEnv* env, gpointer 
user_data)
 }
 
 
-
-static GdkColor
-parse_color_or_default (const gchar *color_string,
-const GdkColor default_color)
-{
-  GdkColor color;
-  if (color_string && gdk_color_parse(color_string, )) {
-return color;
-  } else {
-return default_color;
-  }
-}
-
-
   
 static gboolean
 verve_plugin_focus_timeout (VervePlugin *verve)
@@ -150,25 +133,6 @@ verve_plugin_focus_timeout (VervePlugin *verve)
   
   /* Determine current entry style */
   style = gtk_widget_get_style (verve->input);
-
-  /* Check whether the entry already is highlighted */
-  if (gdk_color_equal (>base[GTK_STATE_NORMAL], 
>base[GTK_STATE_SELECTED]))
-{
-  /* Make it look normal again */
-  c = parse_color_or_default(verve->base_color_str, 
verve->default_style->base[GTK_STATE_NORMAL]);
-  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, );
-  c = parse_color_or_default(verve->bg_color_str, 
verve->default_style->bg[GTK_STATE_NORMAL]);
-  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, );
-  c = parse_color_or_default(verve->fg_color_str, 
verve->default_style->text[GTK_STATE_NORMAL]);
-  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, );
-}
-  else
-{
-  /* Highlight the entry by changing base and background colors */
-  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, 
>base[GTK_STATE_SELECTED]);
-  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, 
>bg[GTK_STATE_SELECTED]);
-  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, 
>text[GTK_STATE_SELECTED]);
-}
   
   return TRUE;
 }
@@ -190,14 +154,6 @@ verve_plugin_focus_timeout_reset (VervePlugin *verve)
   g_source_remove (verve->focus_timeout);
   verve->focus_timeout = 0;
 }
-  
-  /* Reset entry background */
-  c = parse_color_or_default(verve->base_color_str, 
verve->default_style->base[GTK_STATE_NORMAL]);
-  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, );
-  c = parse_color_or_default(verve->bg_color_str, 
verve->default_style->bg[GTK_STATE_NORMAL]);
-  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, );
-  c = parse_color_or_default(verve->fg_color_str, 
verve->default_style->text[GTK_STATE_NORMAL]);
-  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, );
 }
 
 
@@ -587,11 +543,6 @@ verve_plugin_new (XfcePanelPlugin *plugin)
   g_signal_connect (verve->input, "button-press-event", G_CALLBACK 
(verve_plugin_buttonpress_cb), verve);
   g_signal_connect (verve->input, "focus-out-event", G_CALLBACK 
(verve_plugin_focus_out), verve);
 
-  /* Copy the default GTK style into the plugin structure, for restoring after 
verve-focus */
-  GtkStyle *style = gtk_widget_get_style (verve->input);
-  verve->default_style = g_new (GtkStyle, 1);
-  memcpy(verve->default_style, style, sizeof (GtkStyle));
-
 #ifdef HAVE_DBUS
   /* Attach the D-BUS service */
   verve->dbus_service = g_object_new (VERVE_TYPE_DBUS_SERVICE, NULL);
@@ -620,9 +571,6 @@ verve_plugin_free (XfcePanelPlugin *plugin,
   /* Unload completion */
   g_completion_free (verve->completion);
 
-  /* Unload default GTK style */
-  g_free (verve->default_style);
-
   /* Free plugin data structure */
   g_free (verve);
 
@@ -694,24 +642,18 @@ verve_plugin_update_colors (XfcePanelPlugin *plugin,
   g_free (verve->fg_color_str);
 }
 verve->fg_color_str = g_strdup (fg_color_str);
-c = parse_color_or_default(verve->fg_color_str, 
verve->default_style->text[GTK_STATE_NORMAL]);
-gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, );
   }
   if (bg_color_str) {
 if (verve->bg_color_str) {
   g_free (verve->bg_color_str);
 }
 verve->bg_color_str = g_strdup (bg_color_str);
-c = parse_color_or_default(verve->bg_color_str, 
verve->default_style->bg[GTK_STATE_NORMAL]);
-gtk_widget_modify_bg (verve->input, 

[Xfce4-commits] [panel-plugins/xfce4-verve-plugin] 02/05: Merge branch 'master' into isaacschemm/gtk3

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a commit to branch 
isaacschemm/gtk3
in repository panel-plugins/xfce4-verve-plugin.

commit 84e441526107f39de643d43b0ed324c5f92f9a5b
Merge: 834212e be98493
Author: Isaac Schemm 
Date:   Wed Nov 22 16:38:13 2017 -0600

Merge branch 'master' into isaacschemm/gtk3

 panel-plugin/verve-plugin.c | 197 ++--
 1 file changed, 189 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] [panel-plugins/xfce4-verve-plugin] 05/05: Update README with note about removal of verve-focus

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a commit to branch 
isaacschemm/gtk3
in repository panel-plugins/xfce4-verve-plugin.

commit 85458546de707e083c49c816e9509d2bc3ded287
Author: libertyernie 
Date:   Wed Nov 22 16:36:43 2017 -0600

Update README with note about removal of verve-focus
---
 README | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README b/README
index f0dc339..08094c0 100644
--- a/README
+++ b/README
@@ -16,6 +16,8 @@ Build tools required:
   * autoconf
   * automake
 
+verve-focus is no longer supported in the GTK 3 version of xfce4-verve-plugin, 
due to changes in libraries related to dbus. (Let me know if you can contribute 
a patch to bring it back!)
+
 To compile, first run:
   ./configure
 Or, if compiling from the git repository:

-- 
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-verve-plugin] branch isaacschemm/gtk3 updated (3420196 -> 8545854)

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a change to branch 
isaacschemm/gtk3
in repository panel-plugins/xfce4-verve-plugin.

  from  3420196   Port to GTK3
  adds  1c02e40   I18n: Update translation oc (56%).
  adds  d0eea67   I18n: Update translation oc (100%).
  adds  a52fd0f   I18n: Update translation da (84%).
  adds  5951b91   I18n: Update translation da (100%).
  adds  9a21815   I18n: Update translation da (100%).
  adds  32e756c   I18n: Update translation hr (100%).
  adds  0922b6b   I18n: Update translation da (100%).
  adds  6b8cada   I18n: Update translation id (100%).
  adds  f0fc9ef   I18n: Update translation nl (100%).
  adds  b4f59fa   I18n: Update translation ast (84%).
  adds  9a103e1   I18n: Update translation bg (100%).
  adds  24cce36   I18n: Update translation ca (100%).
  adds  ecf4912   I18n: Update translation cs (100%).
  adds  92d5710   I18n: Update translation da (100%).
  adds  8bc3c96   I18n: Update translation de (100%).
  adds  91291a2   I18n: Update translation el (100%).
  adds  24cfb11   I18n: Update translation en_AU (100%).
  adds  7a1fcb9   I18n: Update translation eo (52%).
  adds  5e9a48b   I18n: Update translation es (100%).
  adds  d698c3f   I18n: Update translation fr (100%).
  adds  44d0237   I18n: Update translation he (100%).
  adds  aea89a2   I18n: Update translation hr (100%).
  adds  0616cd8   I18n: Update translation hu (76%).
  adds  405706c   I18n: Update translation id (100%).
  adds  9b01d3a   I18n: Update translation is (100%).
  adds  71074c0   I18n: Update translation it (100%).
  adds  52b5369   I18n: Update translation ja (100%).
  adds  c27ce67   I18n: Update translation ko (100%).
  adds  4e9e78d   I18n: Update translation lt (100%).
  adds  1ddcde8   I18n: Update translation ms (100%).
  adds  77906e8   I18n: Update translation nb (100%).
  adds  e917d97   I18n: Update translation nl (100%).
  adds  6bdb0f6   I18n: Update translation oc (100%).
  adds  d2b31b9   I18n: Update translation pl (100%).
  adds  bb6bbf1   I18n: Update translation pt_BR (100%).
  adds  98c602c   I18n: Update translation pt (100%).
  adds  aaf4aa8   I18n: Update translation ru (100%).
  adds  5a756d7   I18n: Update translation sk (100%).
  adds  06aaffd   I18n: Update translation sr (100%).
  adds  8cf309e   I18n: Update translation sv (100%).
  adds  c035115   I18n: Update translation th (100%).
  adds  cadc053   I18n: Update translation tr (100%).
  adds  979d196   I18n: Update translation uk (100%).
  adds  0d0eed9   I18n: Update translation zh_CN (100%).
  adds  3093ab9   I18n: Update translation zh_TW (100%).
  adds  bf734d4   I18n: Update translation nl (100%).
  adds  b4075db   I18n: Update translation pt_BR (100%).
  adds  d3cc08b   I18n: Update translation th (100%).
  adds  34db684   I18n: Update translation ast (84%).
  adds  067f134   I18n: Update translation bg (100%).
  adds  fcc6918   I18n: Update translation ca (100%).
  adds  5e58bf6   I18n: Update translation cs (100%).
  adds  373d1bd   I18n: Update translation da (100%).
  adds  8725091   I18n: Update translation de (100%).
  adds  e0bbe34   I18n: Update translation el (100%).
  adds  529076f   I18n: Update translation en_AU (100%).
  adds  173472e   I18n: Update translation eo (52%).
  adds  9ee3692   I18n: Update translation es (100%).
  adds  37bec28   I18n: Update translation fr (100%).
  adds  aa136d8   I18n: Update translation he (100%).
  adds  7858f9e   I18n: Update translation hr (100%).
  adds  fc20e75   I18n: Update translation hu (76%).
  adds  5e7e598   I18n: Update translation id (100%).
  adds  442a143   I18n: Update translation is (100%).
  adds  1519193   I18n: Update translation it (100%).
  adds  5831831   I18n: Update translation ja (100%).
  adds  11fbc8d   I18n: Update translation ko (100%).
  adds  69c14cb   I18n: Update translation lt (100%).
  adds  85f3e40   I18n: Update translation ms (100%).
  adds  e051940   I18n: Update translation nb (100%).
  adds  6970d7b   I18n: Update translation nl (100%).
  adds  e6bb3a0   I18n: Update translation oc (100%).
  adds  118b0eb   I18n: Update translation pl (100%).
  adds  07149ab   I18n: Update translation pt_BR (100%).
  adds  b0c88de   I18n: Update translation pt (100%).
  adds  52eddd5   I18n: Update translation ru (100%).
  adds  b613803   I18n: Update translation sk (100%).
  adds  82d215c   I18n: Update translation sr (100%).
  adds  b37963f   I18n: Update translation sv (100%).
  adds  ee3ed31   I18n: 

[Xfce4-commits] [panel-plugins/xfce4-verve-plugin] 01/05: Merge branch 'master' into isaacschemm/gtk3

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a commit to branch 
isaacschemm/gtk3
in repository panel-plugins/xfce4-verve-plugin.

commit 834212e3ddd676f841839b6c81209c34b8bcbc45
Merge: 3420196 4343067
Author: Isaac Schemm 
Date:   Wed Nov 15 15:46:39 2017 -0600

Merge branch 'master' into isaacschemm/gtk3

 po/ast.po   |   2 +-
 po/bg.po|   2 +-
 po/ca.po|   6 +--
 po/cs.po|   2 +-
 po/da.po| 140 ++--
 po/de.po|   4 +-
 po/el.po|   6 +--
 po/en_AU.po |   2 +-
 po/eo.po|   2 +-
 po/es.po|   4 +-
 po/fr.po|   2 +-
 po/he.po|   2 +-
 po/hr.po|   8 ++--
 po/hu.po|   2 +-
 po/id.po| 132 +++-
 po/is.po|   2 +-
 po/it.po|   6 +--
 po/ja.po|   4 +-
 po/ko.po|   4 +-
 po/lt.po|   2 +-
 po/ms.po|   2 +-
 po/nb.po|   6 +--
 po/nl.po|   6 +--
 po/oc.po| 101 +--
 po/pl.po|  12 +++---
 po/pt.po|   2 +-
 po/pt_BR.po |   6 +--
 po/ru.po|   2 +-
 po/sk.po|   4 +-
 po/sr.po|   2 +-
 po/sv.po|   4 +-
 po/th.po|   4 +-
 po/tr.po|   2 +-
 po/uk.po|   2 +-
 po/zh_CN.po |   6 +--
 po/zh_TW.po |   2 +-
 36 files changed, 360 insertions(+), 137 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-verve-plugin] 04/04: Store colors in VervePlugin structure as strings, not GdkColors

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a commit to branch 
master
in repository panel-plugins/xfce4-verve-plugin.

commit be9849384139e5df7765a45c1997f2b7bbe5ffc9
Author: Isaac Schemm 
Date:   Fri Nov 17 12:13:11 2017 -0600

Store colors in VervePlugin structure as strings, not GdkColors
---
 panel-plugin/verve-plugin.c | 110 +++-
 1 file changed, 58 insertions(+), 52 deletions(-)

diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index 442589d..65a1ff9 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -54,12 +54,9 @@ typedef struct
   GtkWidget*event_box;
   GtkWidget*label;
   GtkWidget*input;
-  gboolean  fg_color_override;
-  GdkColor  fg_color;
-  gboolean  bg_color_override;
-  GdkColor  bg_color;
-  gboolean  base_color_override;
-  GdkColor  base_color;
+  gchar*fg_color_str;
+  gchar*bg_color_str;
+  gchar*base_color_str;
   
   /* Command history */
   GList*history_current;
@@ -127,11 +124,26 @@ verve_plugin_load_completion (VerveEnv* env, gpointer 
user_data)
 }
 
 
+
+static GdkColor
+parse_color_or_default (const gchar *color_string,
+const GdkColor default_color)
+{
+  GdkColor color;
+  if (color_string && gdk_color_parse(color_string, )) {
+return color;
+  } else {
+return default_color;
+  }
+}
+
+
   
 static gboolean
 verve_plugin_focus_timeout (VervePlugin *verve)
 {
   GtkStyle *style;
+  GdkColor c;
   
   g_return_val_if_fail (verve != NULL, FALSE);
   g_return_val_if_fail (verve->input != NULL || GTK_IS_ENTRY (verve->input), 
FALSE);
@@ -143,9 +155,12 @@ verve_plugin_focus_timeout (VervePlugin *verve)
   if (gdk_color_equal (>base[GTK_STATE_NORMAL], 
>base[GTK_STATE_SELECTED]))
 {
   /* Make it look normal again */
-  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, 
verve->base_color_override ? >base_color : 
>default_style->base[GTK_STATE_NORMAL]);
-  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, 
verve->bg_color_override ? >bg_color : 
>default_style->bg[GTK_STATE_NORMAL]);
-  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, 
verve->fg_color_override ? >fg_color : 
>default_style->text[GTK_STATE_NORMAL]);
+  c = parse_color_or_default(verve->base_color_str, 
verve->default_style->base[GTK_STATE_NORMAL]);
+  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, );
+  c = parse_color_or_default(verve->bg_color_str, 
verve->default_style->bg[GTK_STATE_NORMAL]);
+  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, );
+  c = parse_color_or_default(verve->fg_color_str, 
verve->default_style->text[GTK_STATE_NORMAL]);
+  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, );
 }
   else
 {
@@ -164,6 +179,7 @@ static void
 verve_plugin_focus_timeout_reset (VervePlugin *verve)
 {
   GtkStyle *style;
+  GdkColor c;
 
   g_return_if_fail (verve != NULL);
   g_return_if_fail (verve->input != NULL || GTK_IS_ENTRY (verve->input));
@@ -176,9 +192,12 @@ verve_plugin_focus_timeout_reset (VervePlugin *verve)
 }
   
   /* Reset entry background */
-  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, 
verve->base_color_override ? >base_color : 
>default_style->base[GTK_STATE_NORMAL]);
-  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, 
verve->bg_color_override ? >bg_color : 
>default_style->bg[GTK_STATE_NORMAL]);
-  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, 
verve->fg_color_override ? >fg_color : 
>default_style->text[GTK_STATE_NORMAL]);
+  c = parse_color_or_default(verve->base_color_str, 
verve->default_style->base[GTK_STATE_NORMAL]);
+  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, );
+  c = parse_color_or_default(verve->bg_color_str, 
verve->default_style->bg[GTK_STATE_NORMAL]);
+  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, );
+  c = parse_color_or_default(verve->fg_color_str, 
verve->default_style->text[GTK_STATE_NORMAL]);
+  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, );
 }
 
 
@@ -528,12 +547,12 @@ verve_plugin_new (XfcePanelPlugin *plugin)
   verve->launch_params.use_bang = FALSE;
   verve->launch_params.use_backslash = FALSE;
   verve->launch_params.use_smartbookmark = FALSE;
-  verve->launch_params.smartbookmark_url = g_strdup("");
+  verve->launch_params.smartbookmark_url = g_strdup ("");
   
   /* Initialize colors */
-  verve->fg_color_override = FALSE;
-  verve->bg_color_override = FALSE;
-  verve->base_color_override = FALSE;
+  verve->fg_color_str = g_strdup ("");
+  verve->bg_color_str = g_strdup ("");
+  verve->base_color_str = g_strdup ("");
 
   /* Initialize label */
   verve->label = 

[Xfce4-commits] [panel-plugins/xfce4-verve-plugin] branch master updated (4343067 -> be98493)

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a change to branch 
master
in repository panel-plugins/xfce4-verve-plugin.

  from  4343067   I18n: Update translation ko (100%).
   new  9cea61f   Start working on custom colors
   new  2183785   Save colors to configuration file
   new  980d3a4   Add ability to modify foreground (fg) and background 
(base) colors from properties dialog
   new  be98493   Store colors in VervePlugin structure as strings, not 
GdkColors

The 4 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:
 panel-plugin/verve-plugin.c | 197 ++--
 1 file changed, 189 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] [panel-plugins/xfce4-verve-plugin] 01/04: Start working on custom colors

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a commit to branch 
master
in repository panel-plugins/xfce4-verve-plugin.

commit 9cea61f1ae537bea50ad252dd31fc974864c2078
Author: Isaac Schemm 
Date:   Thu Nov 16 12:36:53 2017 -0600

Start working on custom colors
---
 panel-plugin/verve-plugin.c | 74 -
 1 file changed, 67 insertions(+), 7 deletions(-)

diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index c6447bf..72da842 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -54,6 +54,12 @@ typedef struct
   GtkWidget*event_box;
   GtkWidget*label;
   GtkWidget*input;
+  gboolean  fg_color_override;
+  GdkColor  fg_color;
+  gboolean  bg_color_override;
+  GdkColor  bg_color;
+  gboolean  base_color_override;
+  GdkColor  base_color;
   
   /* Command history */
   GList*history_current;
@@ -137,9 +143,9 @@ verve_plugin_focus_timeout (VervePlugin *verve)
   if (gdk_color_equal (>base[GTK_STATE_NORMAL], 
>base[GTK_STATE_SELECTED]))
 {
   /* Make it look normal again */
-  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, 
>default_style->base[GTK_STATE_NORMAL]);
-  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, 
>default_style->bg[GTK_STATE_NORMAL]);
-  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, 
>default_style->text[GTK_STATE_NORMAL]);
+  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, 
verve->base_color_override ? >base_color : 
>default_style->base[GTK_STATE_NORMAL]);
+  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, 
verve->bg_color_override ? >bg_color : 
>default_style->bg[GTK_STATE_NORMAL]);
+  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, 
verve->fg_color_override ? >fg_color : 
>default_style->text[GTK_STATE_NORMAL]);
 }
   else
 {
@@ -170,9 +176,9 @@ verve_plugin_focus_timeout_reset (VervePlugin *verve)
 }
   
   /* Reset entry background */
-  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, 
>default_style->base[GTK_STATE_NORMAL]);
-  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, 
>default_style->bg[GTK_STATE_NORMAL]);
-  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, 
>default_style->text[GTK_STATE_NORMAL]);
+  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, 
verve->base_color_override ? >base_color : 
>default_style->base[GTK_STATE_NORMAL]);
+  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, 
verve->bg_color_override ? >bg_color : 
>default_style->bg[GTK_STATE_NORMAL]);
+  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, 
verve->fg_color_override ? >fg_color : 
>default_style->text[GTK_STATE_NORMAL]);
 }
 
 
@@ -561,7 +567,7 @@ verve_plugin_new (XfcePanelPlugin *plugin)
   GtkStyle *style = gtk_widget_get_style (verve->input);
   verve->default_style = g_new (GtkStyle, 1);
   memcpy(verve->default_style, style, sizeof (GtkStyle));
-  
+
 #ifdef HAVE_DBUS
   /* Attach the D-BUS service */
   verve->dbus_service = g_object_new (VERVE_TYPE_DBUS_SERVICE, NULL);
@@ -650,6 +656,42 @@ verve_plugin_update_label (XfcePanelPlugin *plugin,
 
 
 static gboolean
+verve_plugin_update_colors (XfcePanelPlugin *plugin,
+const gchar *fg_color_str,
+const gchar *bg_color_str,
+const gchar *base_color_str,
+VervePlugin *verve)
+{
+  g_return_val_if_fail (verve != NULL, FALSE);
+
+  GdkColor color;
+  verve->fg_color_override = FALSE;
+  if (gdk_color_parse(fg_color_str, )) {
+verve->fg_color_override = TRUE;
+verve->fg_color = color;
+  }
+  verve->bg_color_override = FALSE;
+  if (gdk_color_parse(bg_color_str, )) {
+verve->bg_color_override = TRUE;
+verve->bg_color = color;
+  }
+  verve->base_color_override = FALSE;
+  if (gdk_color_parse(base_color_str, )) {
+verve->base_color_override = TRUE;
+verve->base_color = color;
+  }
+
+  /* Reset entry colors */
+  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, 
verve->base_color_override ? >base_color : 
>default_style->base[GTK_STATE_NORMAL]);
+  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, 
verve->bg_color_override ? >bg_color : 
>default_style->bg[GTK_STATE_NORMAL]);
+  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, 
verve->fg_color_override ? >fg_color : 
>default_style->text[GTK_STATE_NORMAL]);
+
+  return TRUE;
+}
+
+
+
+static gboolean
 verve_plugin_update_history_length (XfcePanelPlugin *plugin,
 gint history_length,
 VervePlugin *verve)
@@ -695,6 +737,11 @@ verve_plugin_read_rc_file 

[Xfce4-commits] [panel-plugins/xfce4-verve-plugin] 02/04: Save colors to configuration file

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a commit to branch 
master
in repository panel-plugins/xfce4-verve-plugin.

commit 2183785a779157fc22559058221b181d97be658d
Author: Isaac Schemm 
Date:   Fri Nov 17 08:18:28 2017 -0600

Save colors to configuration file
---
 panel-plugin/verve-plugin.c | 20 +---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index 72da842..72fa08f 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -529,6 +529,11 @@ verve_plugin_new (XfcePanelPlugin *plugin)
   verve->launch_params.use_backslash = FALSE;
   verve->launch_params.use_smartbookmark = FALSE;
   verve->launch_params.smartbookmark_url = g_strdup("");
+  
+  /* Initialize colors */
+  verve->fg_color_override = FALSE;
+  verve->bg_color_override = FALSE;
+  verve->base_color_override = FALSE;
 
   /* Initialize label */
   verve->label = gtk_label_new ("");
@@ -833,6 +838,7 @@ verve_plugin_write_rc_file (XfcePanelPlugin *plugin,
 {
   XfceRc *rc;
   gchar *filename;
+  gchar *color_str;
 
   g_return_if_fail (plugin != NULL);
   g_return_if_fail (verve != NULL);
@@ -872,9 +878,17 @@ verve_plugin_write_rc_file (XfcePanelPlugin *plugin,
   xfce_rc_write_entry (rc, "smartbookmark-url", 
verve->launch_params.smartbookmark_url);
 
   /* Write colors */
-  xfce_rc_write_entry (rc, "foreground-color", verve->fg_color_override ? 
"orange" : "");
-  xfce_rc_write_entry (rc, "background-color", verve->bg_color_override ? 
"green" : "");
-  xfce_rc_write_entry (rc, "base-color", verve->base_color_override ? 
"blue" : "");
+  color_str = gdk_color_to_string(>fg_color);
+  xfce_rc_write_entry (rc, "foreground-color", verve->fg_color_override ? 
color_str : "");
+  g_free (color_str);
+  
+  color_str = gdk_color_to_string(>bg_color);
+  xfce_rc_write_entry (rc, "background-color", verve->bg_color_override ? 
color_str : "");
+  g_free (color_str);
+  
+  color_str = gdk_color_to_string(>base_color);
+  xfce_rc_write_entry (rc, "base-color", verve->base_color_override ? 
color_str : "");
+  g_free (color_str);
 
   /* Close handle */
   xfce_rc_close (rc);

-- 
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-verve-plugin] 03/04: Add ability to modify foreground (fg) and background (base) colors from properties dialog

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

isaacschemm pushed 
a commit to branch 
master
in repository panel-plugins/xfce4-verve-plugin.

commit 980d3a4e82595fef9c98ee2251a655ad2e914f9c
Author: Isaac Schemm 
Date:   Fri Nov 17 10:00:41 2017 -0600

Add ability to modify foreground (fg) and background (base) colors from 
properties dialog
---
 panel-plugin/verve-plugin.c | 135 ++--
 1 file changed, 118 insertions(+), 17 deletions(-)

diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index 72fa08f..442589d 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -670,27 +670,31 @@ verve_plugin_update_colors (XfcePanelPlugin *plugin,
   g_return_val_if_fail (verve != NULL, FALSE);
 
   GdkColor color;
-  verve->fg_color_override = FALSE;
-  if (gdk_color_parse(fg_color_str, )) {
-verve->fg_color_override = TRUE;
-verve->fg_color = color;
+  if (fg_color_str) {
+verve->fg_color_override = FALSE;
+if (gdk_color_parse(fg_color_str, )) {
+  verve->fg_color_override = TRUE;
+  verve->fg_color = color;
+}
+gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, 
verve->fg_color_override ? >fg_color : 
>default_style->text[GTK_STATE_NORMAL]);
   }
-  verve->bg_color_override = FALSE;
-  if (gdk_color_parse(bg_color_str, )) {
-verve->bg_color_override = TRUE;
-verve->bg_color = color;
+  if (bg_color_str) {
+verve->bg_color_override = FALSE;
+if (gdk_color_parse(bg_color_str, )) {
+  verve->bg_color_override = TRUE;
+  verve->bg_color = color;
+}
+gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, 
verve->bg_color_override ? >bg_color : 
>default_style->bg[GTK_STATE_NORMAL]);
   }
-  verve->base_color_override = FALSE;
-  if (gdk_color_parse(base_color_str, )) {
-verve->base_color_override = TRUE;
-verve->base_color = color;
+  if (base_color_str) {
+verve->base_color_override = FALSE;
+if (gdk_color_parse(base_color_str, )) {
+  verve->base_color_override = TRUE;
+  verve->base_color = color;
+}
+gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, 
verve->base_color_override ? >base_color : 
>default_style->base[GTK_STATE_NORMAL]);
   }
 
-  /* Reset entry colors */
-  gtk_widget_modify_base (verve->input, GTK_STATE_NORMAL, 
verve->base_color_override ? >base_color : 
>default_style->base[GTK_STATE_NORMAL]);
-  gtk_widget_modify_bg (verve->input, GTK_STATE_NORMAL, 
verve->bg_color_override ? >bg_color : 
>default_style->bg[GTK_STATE_NORMAL]);
-  gtk_widget_modify_text (verve->input, GTK_STATE_NORMAL, 
verve->fg_color_override ? >fg_color : 
>default_style->text[GTK_STATE_NORMAL]);
-
   return TRUE;
 }
 
@@ -913,6 +917,34 @@ verve_plugin_size_changed (GtkSpinButton *spin,
 
 
 static void
+verve_plugin_fg_color_changed (GtkEntry *box, 
+   VervePlugin *verve)
+{
+  g_return_if_fail (verve != NULL);
+
+  /* Get the entered color */
+  const gchar *color_str = gtk_entry_get_text (box);
+
+  verve_plugin_update_colors (NULL, color_str, NULL, NULL, verve);
+}
+
+
+
+static void
+verve_plugin_base_color_changed (GtkEntry *box, 
+ VervePlugin *verve)
+{
+  g_return_if_fail (verve != NULL);
+
+  /* Get the entered color */
+  const gchar *color_str = gtk_entry_get_text (box);
+
+  verve_plugin_update_colors (NULL, NULL, NULL, color_str, verve);
+}
+
+
+
+static void
 verve_plugin_label_changed (GtkEntry *box, 
 VervePlugin *verve)
 {
@@ -1073,6 +1105,10 @@ verve_plugin_properties (XfcePanelPlugin *plugin,
   GtkWidget *vbox;
   GtkWidget *size_label;
   GtkWidget *size_spin;
+  GtkWidget *base_color_label;
+  GtkWidget *base_color_box;
+  GtkWidget *fg_color_label;
+  GtkWidget *fg_color_box;
   GtkWidget *label_label;
   GtkWidget *label_box;
   GtkWidget *history_length_label;
@@ -1095,6 +1131,8 @@ verve_plugin_properties (XfcePanelPlugin *plugin,
   GtkWidget *command_type_executable;
   GtkWidget *command_type_use_shell;
 
+  gchar *color_str;
+
   g_return_if_fail (plugin != NULL);
   g_return_if_fail (verve != NULL);
 
@@ -1187,6 +1225,69 @@ verve_plugin_properties (XfcePanelPlugin *plugin,
   /* Be notified when the user requests a different label setting */
   g_signal_connect (label_box, "changed", G_CALLBACK 
(verve_plugin_label_changed), verve);
 
+  /* Frame for color settings */
+  frame = xfce_gtk_frame_box_new (_("Colors"), );
+  gtk_container_set_border_width (GTK_CONTAINER (frame), 6);
+  gtk_box_pack_start (GTK_BOX (general_vbox), frame, FALSE, FALSE, 0);
+  gtk_widget_show (frame);
+
+  /* Color settings vertical container */
+  vbox = gtk_vbox_new (FALSE, 8);
+  gtk_container_add (GTK_CONTAINER(bin1), vbox);
+  gtk_widget_show(vbox);
+
+  /* Plugin 

[Xfce4-commits] [xfce/thunar] 01/01: replaced gtk3 deprecation "gtk_style_render_icon". Since almost impossible to replace it with suggested "gtk_icon_theme_load_icon", a more simple approach is used

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

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

commit 6785723678c3e32cfe87e905d200aa70381ddcbc
Author: Alexander Schwinn 
Date:   Wed Nov 22 23:00:13 2017 +0100

replaced gtk3 deprecation "gtk_style_render_icon".
Since almost impossible to replace it with
suggested "gtk_icon_theme_load_icon", a more simple approach is used now
to render icons insensitive.
---
 thunar/thunar-icon-renderer.c | 44 +--
 1 file changed, 26 insertions(+), 18 deletions(-)

diff --git a/thunar/thunar-icon-renderer.c b/thunar/thunar-icon-renderer.c
index 42b62f7..5338ef4 100644
--- a/thunar/thunar-icon-renderer.c
+++ b/thunar/thunar-icon-renderer.c
@@ -299,6 +299,30 @@ thunar_icon_renderer_get_preferred_height (GtkCellRenderer 
*renderer,
 
 
 static void
+thunar_icon_renderer_color_insensitive (cairo_t   *cr,
+GtkWidget *widget)
+{
+  cairo_pattern_t *source;
+  GdkRGBA  *color;
+  GtkStyleContext *context = gtk_widget_get_style_context (widget);
+
+  cairo_save (cr);
+
+  source = cairo_pattern_reference (cairo_get_source (cr));
+  gtk_style_context_get (context, GTK_STATE_FLAG_INSENSITIVE, 
GTK_STYLE_PROPERTY_COLOR, , NULL);
+  gdk_cairo_set_source_rgba (cr, color);
+  gdk_rgba_free (color);
+  cairo_set_operator (cr, CAIRO_OPERATOR_MULTIPLY);
+
+  cairo_mask (cr, source);
+
+  cairo_pattern_destroy (source);
+  cairo_restore (cr);
+}
+
+
+
+static void
 thunar_icon_renderer_color_selected (cairo_t   *cr,
  GtkWidget *widget)
 {
@@ -356,7 +380,6 @@ thunar_icon_renderer_render (GtkCellRenderer *renderer,
   ThunarFileIconState icon_state;
   ThunarIconRenderer *icon_renderer = THUNAR_ICON_RENDERER (renderer);
   ThunarIconFactory  *icon_factory;
-  GtkIconSource  *icon_source;
   GtkIconTheme   *icon_theme;
   GdkRectangleemblem_area;
   GdkRectangleicon_area;
@@ -449,23 +472,8 @@ thunar_icon_renderer_render (GtkCellRenderer *renderer,
   g_object_unref (G_OBJECT (clipboard));
 
   /* check if we should render an insensitive icon */
-  if (G_UNLIKELY (gtk_widget_get_state (widget) == GTK_STATE_INSENSITIVE 
|| !gtk_cell_renderer_get_sensitive (renderer)))
-{
-  /* allocate an icon source */
-  icon_source = gtk_icon_source_new ();
-  gtk_icon_source_set_pixbuf (icon_source, icon);
-  gtk_icon_source_set_size_wildcarded (icon_source, FALSE);
-  gtk_icon_source_set_size (icon_source, GTK_ICON_SIZE_SMALL_TOOLBAR);
-
-  /* render the insensitive icon */
-  temp = gtk_style_render_icon (gtk_widget_get_style (widget), 
icon_source, gtk_widget_get_direction (widget),
-GTK_STATE_INSENSITIVE, -1, widget, 
"gtkcellrendererpixbuf");
-  g_object_unref (G_OBJECT (icon));
-  icon = temp;
-
-  /* release the icon source */
-  gtk_icon_source_free (icon_source);
-}
+  if (G_UNLIKELY (gtk_widget_get_state_flags (widget) == 
GTK_STATE_FLAG_INSENSITIVE || !gtk_cell_renderer_get_sensitive (renderer)))
+thunar_icon_renderer_color_insensitive(cr,widget);
 
   /* render the invalid parts of the icon */
   thunar_gdk_cairo_set_source_pixbuf (cr, icon, icon_area.x, icon_area.y);

-- 
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] branch master updated (abd9ded -> 6785723)

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

alex pushed a 
change to branch 
master
in repository xfce/thunar.

  from  abd9ded   replaced gtk3 deprecation "gdk_cairo_set_source_color" by 
"gdk_cairo_set_source_rgba" - part II ( Now done the same like in internal 
deprecated gtk3 method "gtk_style_context_get_background_color" in order to 
elude a possible memory leak )
   new  6785723   replaced gtk3 deprecation "gtk_style_render_icon". Since 
almost impossible to replace it with suggested "gtk_icon_theme_load_icon", a 
more simple approach is used now to render icons insensitive.

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/thunar-icon-renderer.c | 44 +--
 1 file changed, 26 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] [xfce/thunar] branch master updated (b1af81c -> abd9ded)

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

alex pushed a 
change to branch 
master
in repository xfce/thunar.

  from  b1af81c   Allow Thunar run with sudo as before (Bug #13884)
   new  abd9ded   replaced gtk3 deprecation "gdk_cairo_set_source_color" by 
"gdk_cairo_set_source_rgba" - part II ( Now done the same like in internal 
deprecated gtk3 method "gtk_style_context_get_background_color" in order to 
elude a possible memory leak )

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/thunar-icon-renderer.c | 5 +++--
 1 file changed, 3 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/thunar] 01/01: replaced gtk3 deprecation "gdk_cairo_set_source_color" by "gdk_cairo_set_source_rgba" - part II ( Now done the same like in internal deprecated gtk3 method "gtk_st

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

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

commit abd9dedaa192291af7b7f935463a1c6a99335ee2
Author: Alexander Schwinn 
Date:   Wed Nov 22 22:27:07 2017 +0100

replaced gtk3 deprecation "gdk_cairo_set_source_color"
by "gdk_cairo_set_source_rgba" - part II
( Now done the same like in internal deprecated gtk3 method
"gtk_style_context_get_background_color" in order
to elude a possible memory leak )
---
 thunar/thunar-icon-renderer.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-icon-renderer.c b/thunar/thunar-icon-renderer.c
index b0338d2..42b62f7 100644
--- a/thunar/thunar-icon-renderer.c
+++ b/thunar/thunar-icon-renderer.c
@@ -304,7 +304,7 @@ thunar_icon_renderer_color_selected (cairo_t   *cr,
 {
   cairo_pattern_t *source;
   GtkStateFlagsstate;
-  GdkRGBA  color;
+  GdkRGBA  *color;
   GtkStyleContext *context = gtk_widget_get_style_context (widget);
 
   cairo_save (cr);
@@ -312,7 +312,8 @@ thunar_icon_renderer_color_selected (cairo_t   *cr,
   source = cairo_pattern_reference (cairo_get_source (cr));
   state = gtk_widget_has_focus (widget) ? GTK_STATE_FLAG_SELECTED : 
GTK_STATE_FLAG_ACTIVE;
   gtk_style_context_get (context, state, GTK_STYLE_PROPERTY_BACKGROUND_COLOR, 
, NULL);
-  gdk_cairo_set_source_rgba (cr, );
+  gdk_cairo_set_source_rgba (cr, color);
+  gdk_rgba_free (color);
   cairo_set_operator (cr, CAIRO_OPERATOR_MULTIPLY);
 
   cairo_mask (cr, source);

-- 
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-time-out-plugin] branch master updated (f4cb288 -> 9218e31)

2017-11-22 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-time-out-plugin.

  from  f4cb288   I18n: Update translation ko (100%).
   new  9218e31   I18n: Add new translation eo (51%).

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/{ur.po => eo.po} | 64 +++--
 1 file changed, 33 insertions(+), 31 deletions(-)
 copy po/{ur.po => eo.po} (82%)

-- 
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-time-out-plugin] 01/01: I18n: Add new translation eo (51%).

2017-11-22 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-time-out-plugin.

commit 9218e31c56f93b4fe995309f8b9e457f979da529
Author: Iris Ilexiris 
Date:   Wed Nov 22 18:32:33 2017 +0100

I18n: Add new translation eo (51%).

17 translated messages, 16 untranslated messages.

Transifex (https://www.transifex.com/xfce/public/).
---
 po/eo.po | 214 +++
 1 file changed, 214 insertions(+)

diff --git a/po/eo.po b/po/eo.po
new file mode 100644
index 000..928bbfa
--- /dev/null
+++ b/po/eo.po
@@ -0,0 +1,214 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# 
+# Translators:
+# Iris Ilexiris , 2017
+# Robin van der Vliet , 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: Xfce Panel Plugins\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-08-30 18:31+0200\n"
+"PO-Revision-Date: 2017-11-22 13:12+\n"
+"Last-Translator: Iris Ilexiris \n"
+"Language-Team: Esperanto 
(http://www.transifex.com/xfce/xfce-panel-plugins/language/eo/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: eo\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Create menu item for taking an instant break
+#: ../panel-plugin/time-out.c:264
+msgid "Take a break"
+msgstr ""
+
+#. Create menu item for resetting the timer
+#: ../panel-plugin/time-out.c:272
+msgid "Reset timer"
+msgstr ""
+
+#. Create menu item for enabling/disabling the countdown
+#: ../panel-plugin/time-out.c:280
+msgid "Enabled"
+msgstr "Aktiva"
+
+#. Update tooltips
+#: ../panel-plugin/time-out.c:344
+msgid "Paused"
+msgstr ""
+
+#: ../panel-plugin/time-out.c:423
+msgid ""
+"Xfce Panel plugin for taking a break from computer work every now and then."
+msgstr ""
+
+#: ../panel-plugin/time-out.c:432
+msgid "translator-credits"
+msgstr "Robin van der Vliet "
+
+#. Create properties dialog
+#: ../panel-plugin/time-out.c:464
+#: ../panel-plugin/xfce4-time-out-plugin.desktop.in.h:1
+msgid "Time Out"
+msgstr ""
+
+#. Create time settings section
+#: ../panel-plugin/time-out.c:481
+msgid "Time settings"
+msgstr "Tempaj agordoj"
+
+#. Create the labels for the minutes and seconds spins
+#: ../panel-plugin/time-out.c:494
+msgid "Minutes"
+msgstr "Minutoj"
+
+#: ../panel-plugin/time-out.c:499
+msgid "Seconds"
+msgstr "Sekundoj"
+
+#. Create break countdown time label
+#: ../panel-plugin/time-out.c:505
+msgid "Time between breaks:"
+msgstr ""
+
+#. Create lock countdown time label
+#: ../panel-plugin/time-out.c:529
+msgid "Break length:"
+msgstr ""
+
+#. Create postpone countdown time label
+#: ../panel-plugin/time-out.c:547
+msgid "Postpone length:"
+msgstr ""
+
+#. Create behaviour section
+#: ../panel-plugin/time-out.c:565
+msgid "Behaviour"
+msgstr "Agimaniero"
+
+#. Create postpone check button
+#: ../panel-plugin/time-out.c:576
+msgid "Allow postpone"
+msgstr ""
+
+#. Create resume check button
+#: ../panel-plugin/time-out.c:583
+msgid "Resume automatically"
+msgstr "Rekomenci aŭtomate"
+
+#. Create appearance section
+#: ../panel-plugin/time-out.c:590
+msgid "Appearance"
+msgstr "Aspekto"
+
+#. Create display icon check button
+#: ../panel-plugin/time-out.c:606
+msgid "Display icon"
+msgstr "Montri piktogramon"
+
+#. Create display time check button
+#: ../panel-plugin/time-out.c:613
+msgid "Display remaining time in the panel"
+msgstr ""
+
+#. Create display hours check button
+#: ../panel-plugin/time-out.c:620
+msgid "Display hours"
+msgstr "Montri horojn"
+
+#. Create display seconds check button
+#: ../panel-plugin/time-out.c:627
+msgid "Display seconds"
+msgstr "Montri sekundojn"
+
+#. Create postpone button
+#: ../panel-plugin/time-out-lock-screen.c:219
+msgid "_Postpone"
+msgstr ""
+
+#. Create resume button
+#: ../panel-plugin/time-out-lock-screen.c:225
+msgid "_Resume"
+msgstr "_Rekomenci"
+
+#: ../panel-plugin/time-out-countdown.c:377
+msgid "The break is over."
+msgstr ""
+
+#. Hours:minutes:seconds
+#: ../panel-plugin/time-out-countdown.c:399
+#, c-format
+msgid "%02d:%02d:%02d"
+msgstr "%02d:%02d:%02d"
+
+#. Hours:minutes
+#. Minutes:seconds
+#: ../panel-plugin/time-out-countdown.c:404
+#: ../panel-plugin/time-out-countdown.c:412
+#, c-format
+msgid "%02d:%02d"
+msgstr "%02d:%02d"
+
+#: ../panel-plugin/time-out-countdown.c:424
+#, c-format
+msgid "%d hour"
+msgid_plural "%d hours"
+msgstr[0] "%d horo"
+msgstr[1] "%d horoj"
+
+#: ../panel-plugin/time-out-countdown.c:425
+#: ../panel-plugin/time-out-countdown.c:481
+#: ../panel-plugin/time-out-countdown.c:494
+#: 

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

2017-11-22 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 073b86645666d3d027dbb7d4ffdb62e8c8e0be93
Author: Edin Veskovic 
Date:   Wed Nov 22 18:31:31 2017 +0100

I18n: Update translation hr (100%).

306 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
---
 po/hr.po | 31 +++
 1 file changed, 27 insertions(+), 4 deletions(-)

diff --git a/po/hr.po b/po/hr.po
index ebe0dac..0cc5c60 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -3,6 +3,7 @@
 # This file is distributed under the same license as the PACKAGE package.
 # 
 # Translators:
+# Edin Veskovic , 2017
 # Edin Veskovic , 2015
 # Edin Veskovic , 2014
 # Ivica  Kolić , 2013-2014
@@ -11,9 +12,9 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Xfce Apps\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-20 06:30+0200\n"
-"PO-Revision-Date: 2017-09-23 19:02+\n"
-"Last-Translator: Ivica  Kolić \n"
+"POT-Creation-Date: 2017-11-21 00:31+0100\n"
+"PO-Revision-Date: 2017-11-22 15:34+\n"
+"Last-Translator: Edin Veskovic \n"
 "Language-Team: Croatian 
(http://www.transifex.com/xfce/xfce-apps/language/hr/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -629,6 +630,16 @@ msgstr "zadano"
 msgid "Max"
 msgstr "Maksimalno"
 
+#: ../xfburn/xfburn-device-box.c:507
+msgid "A full, but erasable disc is in the drive"
+msgstr "Ispunjen, ali obrisiv disk nalazi se u pogonu"
+
+#: ../xfburn/xfburn-device-box.c:508
+msgid ""
+"Do you want to blank the disc, so that it can be used for the upcoming burn "
+"process?"
+msgstr "Želite li isprazniti disk kako bi se mogao koristiti za predstojeći 
proces snimanja?"
+
 #: ../xfburn/xfburn-device-box.c:579
 msgid "Drive can't burn on the inserted disc"
 msgstr "Pogon se ne može snimiti na umetnutom disku"
@@ -1398,9 +1409,21 @@ msgid "Data Composition"
 msgstr "Kompilacija podataka"
 
 #: ../xfburn.desktop.in.h:2
+msgid "Disk Burning"
+msgstr "Snimanje na disk"
+
+#: ../xfburn.desktop.in.h:3
 msgid "CD and DVD burning application"
 msgstr "Program za snimanje CD-a i DVD-a"
 
-#: ../xfburn.desktop.in.h:3
+#: ../xfburn.desktop.in.h:4
 msgid "Burn Image (xfburn)"
 msgstr "Snimi sliku (xfburn)"
+
+#: ../xfburn.appdata.xml.in.h:1
+msgid ""
+"Xfburn is a simple CD/DVD burning tool based on libburnia libraries. It can "
+"blank CD/DVD(-RW)s, burn and create iso images, audio CDs, as well as burn "
+"personal compositions of data to either CD or DVD. It is stable and under "
+"ongoing development."
+msgstr "Xfburn je jednostavan alat za zapisivanje podataka na CD/DVD(-RW) 
diskove zasnovan na libburnia programskim knjižnicama. Može isprazniti te 
zapisati ISO slike ili Audio CD-ove kao i osobne kompozicije podataka po 
diskovima. Xfburn je stabilan i u aktivnom razvoju."

-- 
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 (4feab18 -> 073b866)

2017-11-22 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  4feab18   I18n: Update translation fr (100%).
   new  073b866   I18n: Update translation hr (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/hr.po | 31 +++
 1 file changed, 27 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/xfce4-power-manager] 01/01: I18n: Update translation fr (100%).

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a 
commit to branch 
master
in repository xfce/xfce4-power-manager.

commit 8d8fce2f9de83c3b576beaf689f9e9ccc4746a54
Author: Silvère Latchurié 
Date:   Wed Nov 22 18:30:58 2017 +0100

I18n: Update translation fr (100%).

207 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
---
 po/fr.po | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/po/fr.po b/po/fr.po
index 1ddf27d..39d2f2c 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -8,6 +8,7 @@
 # jc1 , 2013
 # jc1 , 2013
 # Louis Moureaux , 2014-2015
+# Silvère Latchurié , 2017
 # Urien Desterres , 2014-2015
 # Yannick Le Guen , 2014-2016
 msgid ""
@@ -15,8 +16,8 @@ msgstr ""
 "Project-Id-Version: Xfce4-power-manager\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-10-30 00:31+0100\n"
-"PO-Revision-Date: 2017-11-15 20:01+\n"
-"Last-Translator: Charles Monzat \n"
+"PO-Revision-Date: 2017-11-22 16:25+\n"
+"Last-Translator: Silvère Latchurié \n"
 "Language-Team: French 
(http://www.transifex.com/xfce/xfce4-power-manager/language/fr/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -192,7 +193,7 @@ msgstr "Verrouiller automatiquement la session :"
 
 #: ../data/interfaces/xfpm-settings.ui.h:41
 msgid "Delay locking after screensaver for"
-msgstr "Différer le verrouillage après le fond d’écran de"
+msgstr "Différer le verrouillage après l'économiseur d’écran de"
 
 #: ../data/interfaces/xfpm-settings.ui.h:42
 msgid "Light Locker"

-- 
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-power-manager] branch master updated (fd6e854 -> 8d8fce2)

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

transifex pushed a 
change to branch 
master
in repository xfce/xfce4-power-manager.

  from  fd6e854   I18n: Update translation sv (100%).
   new  8d8fce2   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 | 7 ---
 1 file changed, 4 insertions(+), 3 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 (1f501d2 -> f96e213)

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

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

  from  1f501d2   Change default devices when changed from external 
application (bug #13908)
   new  f96e213   Show volume change notifications when triggered without 
multimedia keys (bug #13677)

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:
 panel-plugin/pulseaudio-volume.c | 25 +
 1 file changed, 21 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] [panel-plugins/xfce4-pulseaudio-plugin] 01/01: Show volume change notifications when triggered without multimedia keys (bug #13677)

2017-11-22 Thread noreply
This is an automated email from the git hooks/post-receive script.

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

commit f96e213b84af927e6b427322bb0e7b4ca907911a
Author: Sean Davis 
Date:   Wed Nov 22 06:38:09 2017 -0500

Show volume change notifications when triggered without multimedia keys 
(bug #13677)
---
 panel-plugin/pulseaudio-volume.c | 25 +
 1 file changed, 21 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/pulseaudio-volume.c b/panel-plugin/pulseaudio-volume.c
index 6a2f1a0..b4f6597 100644
--- a/panel-plugin/pulseaudio-volume.c
+++ b/panel-plugin/pulseaudio-volume.c
@@ -64,6 +64,8 @@ struct _PulseaudioVolume
   pa_glib_mainloop *pa_mainloop;
   pa_context   *pa_context;
   gboolean  connected;
+  gboolean  sink_connected;
+  gboolean  source_connected;
 
   gdouble   volume;
   gboolean  muted;
@@ -203,16 +205,22 @@ pulseaudio_volume_sink_info_cb (pa_context 
*context,
 {
   pulseaudio_debug ("Updated Mute: %d -> %d", volume->muted, muted);
   volume->muted = muted;
-  g_signal_emit (G_OBJECT (volume), pulseaudio_volume_signals 
[VOLUME_CHANGED], 0, FALSE);
+
+  if (volume->sink_connected)
+g_signal_emit (G_OBJECT (volume), pulseaudio_volume_signals 
[VOLUME_CHANGED], 0, TRUE);
 }
 
   if (ABS (volume->volume - vol) > 2e-3)
 {
   pulseaudio_debug ("Updated Volume: %04.3f -> %04.3f", volume->volume, 
vol);
   volume->volume = vol;
-  g_signal_emit (G_OBJECT (volume), pulseaudio_volume_signals 
[VOLUME_CHANGED], 0, FALSE);
+
+  if (volume->sink_connected)
+g_signal_emit(G_OBJECT(volume), 
pulseaudio_volume_signals[VOLUME_CHANGED], 0, TRUE);
 }
+
   pulseaudio_debug ("volume: %f, muted: %d", vol, muted);
+  volume->sink_connected = TRUE;
 }
 
 
@@ -240,16 +248,22 @@ pulseaudio_volume_source_info_cb (pa_context   
*context,
 {
   pulseaudio_debug ("Updated Mute Mic: %d -> %d", volume->muted_mic, 
muted_mic);
   volume->muted_mic = muted_mic;
-  g_signal_emit (G_OBJECT (volume), pulseaudio_volume_signals 
[VOLUME_MIC_CHANGED], 0, FALSE);
+
+  if (volume->source_connected)
+g_signal_emit (G_OBJECT (volume), pulseaudio_volume_signals 
[VOLUME_MIC_CHANGED], 0, FALSE);
 }
 
   if (ABS (volume->volume_mic - vol_mic) > 2e-3)
 {
   pulseaudio_debug ("Updated Volume Mic: %04.3f -> %04.3f", 
volume->volume_mic, vol_mic);
   volume->volume_mic = vol_mic;
-  g_signal_emit (G_OBJECT (volume), pulseaudio_volume_signals 
[VOLUME_MIC_CHANGED], 0, FALSE);
+
+  if (volume->source_connected)
+g_signal_emit(G_OBJECT(volume), 
pulseaudio_volume_signals[VOLUME_MIC_CHANGED], 0, FALSE);
 }
+
   pulseaudio_debug ("volume mic: %f, muted mic: %d", vol_mic, muted_mic);
+  volume->source_connected = TRUE;
 }
 
 
@@ -421,6 +435,9 @@ pulseaudio_volume_context_state_cb (pa_context *context,
   g_signal_emit (G_OBJECT (volume), pulseaudio_volume_signals 
[VOLUME_CHANGED], 0, FALSE);
   g_signal_emit (G_OBJECT (volume), pulseaudio_volume_signals 
[VOLUME_MIC_CHANGED], 0, FALSE);
 
+  volume->sink_connected = FALSE;
+  volume->source_connected = FALSE;
+
   pa_context_get_server_info (volume->pa_context, 
pulseaudio_volume_get_server_info_cb, volume);
 
   break;

-- 
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%).

2017-11-22 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 4feab18a9a64dd50a83e7570b350db7364c1f5dd
Author: Yannick Le Guen 
Date:   Wed Nov 22 12:31:29 2017 +0100

I18n: Update translation fr (100%).

306 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
---
 po/fr.po | 32 +++-
 1 file changed, 27 insertions(+), 5 deletions(-)

diff --git a/po/fr.po b/po/fr.po
index 0b1e76d..f3ca1cc 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -12,14 +12,14 @@
 # Patrick Douart , 2009
 # Pierre Albiero , 2015
 # Urien Desterres , 2014-2015
-# Yannick Le Guen , 2014-2015
+# Yannick Le Guen , 2014-2015,2017
 msgid ""
 msgstr ""
 "Project-Id-Version: Xfce Apps\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-20 06:30+0200\n"
-"PO-Revision-Date: 2017-09-23 19:02+\n"
-"Last-Translator: Charles Monzat \n"
+"POT-Creation-Date: 2017-11-21 00:31+0100\n"
+"PO-Revision-Date: 2017-11-22 09:53+\n"
+"Last-Translator: Yannick Le Guen \n"
 "Language-Team: French 
(http://www.transifex.com/xfce/xfce-apps/language/fr/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -635,6 +635,16 @@ msgstr "Par défaut"
 msgid "Max"
 msgstr "Max"
 
+#: ../xfburn/xfburn-device-box.c:507
+msgid "A full, but erasable disc is in the drive"
+msgstr "Un disque plein, mais effaçable est présent dans le périphérique"
+
+#: ../xfburn/xfburn-device-box.c:508
+msgid ""
+"Do you want to blank the disc, so that it can be used for the upcoming burn "
+"process?"
+msgstr "Voulez-vous effacer le disque afin qu’il puisse être utilisé par le 
prochain processus de gravure ?"
+
 #: ../xfburn/xfburn-device-box.c:579
 msgid "Drive can't burn on the inserted disc"
 msgstr "Le périphérique ne parvient pas à graver le disque inséré"
@@ -1404,9 +1414,21 @@ msgid "Data Composition"
 msgstr "Composition de données"
 
 #: ../xfburn.desktop.in.h:2
+msgid "Disk Burning"
+msgstr "Gravure de disque"
+
+#: ../xfburn.desktop.in.h:3
 msgid "CD and DVD burning application"
 msgstr "Application de gravure de CD et DVD"
 
-#: ../xfburn.desktop.in.h:3
+#: ../xfburn.desktop.in.h:4
 msgid "Burn Image (xfburn)"
 msgstr "Graver l'image (xfburn)"
+
+#: ../xfburn.appdata.xml.in.h:1
+msgid ""
+"Xfburn is a simple CD/DVD burning tool based on libburnia libraries. It can "
+"blank CD/DVD(-RW)s, burn and create iso images, audio CDs, as well as burn "
+"personal compositions of data to either CD or DVD. It is stable and under "
+"ongoing development."
+msgstr "Xfburn est un outil de gravure de CD / DVD simple basé sur les 
bibliothèques libburnia. Il peut effacer des CDs / DVD(-RW)s, graver et créer 
des images ISO, des CDs audio, ainsi que graver des compositions de données 
personnelles vers des CDs ou DVDs. C’est un outil stable et en cours de 
développement."

-- 
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 (27ade6c -> 4feab18)

2017-11-22 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  27ade6c   I18n: Update translation ja (99%).
   new  4feab18   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 | 32 +++-
 1 file changed, 27 insertions(+), 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