[Goodies-commits] r7872 - in xfce4-places-plugin/trunk: . panel-plugin
Diego Ongaro
ongardie at xfce.org
Fri Jul 31 07:31:01 CEST 2009
Author: ongardie
Date: 2009-07-31 05:31:01 +0000 (Fri, 31 Jul 2009)
New Revision: 7872
Modified:
xfce4-places-plugin/trunk/ChangeLog
xfce4-places-plugin/trunk/panel-plugin/model_volumes.c
Log:
model_volumes.c: Show "Eject" when Thunar 1.0 does
See bug #4136.
Modified: xfce4-places-plugin/trunk/ChangeLog
===================================================================
--- xfce4-places-plugin/trunk/ChangeLog 2009-07-31 05:02:34 UTC (rev 7871)
+++ xfce4-places-plugin/trunk/ChangeLog 2009-07-31 05:31:01 UTC (rev 7872)
@@ -1,3 +1,8 @@
+2009-07-31 Diego Ongaro <ongardie at gmail.com>
+
+ * model_volumes.c: Show "Eject" option when Thunar 1.0 does. See
+ bug #4136.
+
2009-07-30 Diego Ongaro <ongardie at gmail.com>
* button.c: Use gtk_box_pack_{start,end} directly, as _defaults
Modified: xfce4-places-plugin/trunk/panel-plugin/model_volumes.c
===================================================================
--- xfce4-places-plugin/trunk/panel-plugin/model_volumes.c 2009-07-31 05:02:34 UTC (rev 7871)
+++ xfce4-places-plugin/trunk/panel-plugin/model_volumes.c 2009-07-31 05:31:01 UTC (rev 7872)
@@ -253,18 +253,16 @@
}
- if(thunar_vfs_volume_is_disc(volume)){
- if(thunar_vfs_volume_is_ejectable(volume)){
+ if(thunar_vfs_volume_is_ejectable(volume)){
- g_object_ref(volume);
- action = places_bookmark_action_create(_("Eject"));
- action->may_block = TRUE;
- action->priv = volume;
- action->action = pbvol_eject;
- action->finalize = pbvol_bookmark_action_finalize;
- bookmark->actions = g_list_append(bookmark->actions, action);
+ g_object_ref(volume);
+ action = places_bookmark_action_create(_("Eject"));
+ action->may_block = TRUE;
+ action->priv = volume;
+ action->action = pbvol_eject;
+ action->finalize = pbvol_bookmark_action_finalize;
+ bookmark->actions = g_list_append(bookmark->actions, action);
- }
}else{
if(thunar_vfs_volume_is_mounted(volume)){
More information about the Goodies-commits
mailing list