Author: jannis
Date: 2008-06-21 01:07:11 +0000 (Sat, 21 Jun 2008)
New Revision: 27096
Modified:
xfce4-mixer/trunk/ChangeLog
xfce4-mixer/trunk/libxfce4mixer/xfce-mixer-track-combo.c
Log:
* libxfce4mixer/xfce-mixer-track-combo.c: Fix a wrong
if-statement in xfce_mixer_track_combo_set_track(). Now the
current mixer track should be preselected correctly when
opening the properties dialog of the plugin.
Modified: xfce4-mixer/trunk/ChangeLog
===================================================================
--- xfce4-mixer/trunk/ChangeLog 2008-06-21 00:52:15 UTC (rev 27095)
+++ xfce4-mixer/trunk/ChangeLog 2008-06-21 01:07:11 UTC (rev 27096)
@@ -1,5 +1,12 @@
2008-06-21 Jannis Pohlmann <[EMAIL PROTECTED]>
+ * libxfce4mixer/xfce-mixer-track-combo.c: Fix a wrong
+ if-statement in xfce_mixer_track_combo_set_track(). Now the
+ current mixer track should be preselected correctly when
+ opening the properties dialog of the plugin.
+
+2008-06-21 Jannis Pohlmann <[EMAIL PROTECTED]>
+
* panel-plugin/xfce-volume-button.c: Fix the button press
callback: Return TRUE when the middle button was pressed,
return FALSE otherwise.
Modified: xfce4-mixer/trunk/libxfce4mixer/xfce-mixer-track-combo.c
===================================================================
--- xfce4-mixer/trunk/libxfce4mixer/xfce-mixer-track-combo.c 2008-06-21
00:52:15 UTC (rev 27095)
+++ xfce4-mixer/trunk/libxfce4mixer/xfce-mixer-track-combo.c 2008-06-21
01:07:11 UTC (rev 27096)
@@ -188,7 +188,7 @@
combo = XFCE_MIXER_TRACK_COMBO (g_object_new (TYPE_XFCE_MIXER_TRACK_COMBO,
NULL));
- xfce_mixer_track_combo_set_track (combo,track_name);
+ xfce_mixer_track_combo_set_track (combo, track_name);
xfce_mixer_track_combo_set_soundcard (combo, card);
return GTK_WIDGET (combo);
@@ -256,7 +256,7 @@
g_free (combo->track_name);
- if (G_UNLIKELY (track_name == NULL))
+ if (G_UNLIKELY (track_name != NULL))
{
combo->track_name = g_strdup (track_name);
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits