brasero r1756 - in trunk: . libbrasero-media nautilus
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1756 - in trunk: . libbrasero-media nautilus
- Date: Fri, 16 Jan 2009 16:40:45 +0000 (UTC)
Author: philippr
Date: Fri Jan 16 16:40:44 2009
New Revision: 1756
URL: http://svn.gnome.org/viewvc/brasero?rev=1756&view=rev
Log:
2009-01-16 Philippe Rouquier <ykw localhost localdomain>
Added some hint to nautilus-burn-bar
* libbrasero-media/brasero-drive-selection.c
(brasero_drive_selection_class_init):
* libbrasero-media/brasero-drive.c:
* nautilus/nautilus-burn-bar.c (nautilus_disc_burn_bar_init),
(nautilus_disc_burn_bar_new):
Modified:
trunk/ChangeLog
trunk/libbrasero-media/brasero-drive-selection.c
trunk/libbrasero-media/brasero-drive.c
trunk/nautilus/nautilus-burn-bar.c
Modified: trunk/libbrasero-media/brasero-drive-selection.c
==============================================================================
--- trunk/libbrasero-media/brasero-drive-selection.c (original)
+++ trunk/libbrasero-media/brasero-drive-selection.c Fri Jan 16 16:40:44 2009
@@ -620,6 +620,14 @@
0, BRASERO_DRIVE_TYPE_ALL,
BRASERO_DRIVE_TYPE_ALL_BUT_FILE,
G_PARAM_READWRITE));
+ /**
+ * BraseroDriveSelection::drive_changed:
+ * @selection: the object which received the signal
+ * @medium: the medium which is now selected
+ *
+ * This signal gets emitted when the selected medium has changed
+ *
+ */
brasero_drive_selection_signals [CHANGED_SIGNAL] =
g_signal_new ("drive_changed",
BRASERO_TYPE_DRIVE_SELECTION,
Modified: trunk/libbrasero-media/brasero-drive.c
==============================================================================
--- trunk/libbrasero-media/brasero-drive.c (original)
+++ trunk/libbrasero-media/brasero-drive.c Fri Jan 16 16:40:44 2009
@@ -214,7 +214,7 @@
/**
* brasero_drive_eject:
* @drive: #BraseroDrive
- * @wait: #gboolean
+ * @wait: #gboolean whether to wait for the completion of the operation (with a GMainLoop)
* @error: #GError
*
* Open the drive tray or ejects the media if there is any inside.
Modified: trunk/nautilus/nautilus-burn-bar.c
==============================================================================
--- trunk/nautilus/nautilus-burn-bar.c (original)
+++ trunk/nautilus/nautilus-burn-bar.c Fri Jan 16 16:40:44 2009
@@ -1,6 +1,7 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
*
* Copyright (C) 2005 William Jon McCann <mccann jhu edu>
+ * Copyright (C) 2008 Philippe Rouquier <bonfire-app wanadoo fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -126,15 +127,27 @@
GtkWidget *label;
GtkWidget *hbox;
GtkWidget *image;
+ gchar *string;
bar->priv = NAUTILUS_DISC_BURN_BAR_GET_PRIVATE (bar);
hbox = GTK_WIDGET (bar);
- label = gtk_label_new (_("CD/DVD Creator Folder"));
+ string = g_strdup_printf ("<b>%s</b>", _("CD/DVD Creator Folder"));
+ label = gtk_label_new (string);
+ g_free (string);
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
+ string = g_strdup_printf ("<i>%s</i>", _("Drag or copy files below to write them to disc"));
+ label = gtk_label_new (string);
+ g_free (string);
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
+ gtk_widget_show (label);
+ gtk_box_pack_start (GTK_BOX (hbox), label, TRUE, TRUE, 0);
+
bar->priv->button = gtk_button_new_with_label (_("Write to Disc"));
gtk_widget_show (bar->priv->button);
gtk_box_pack_end (GTK_BOX (hbox), bar->priv->button, FALSE, FALSE, 0);
@@ -171,6 +184,7 @@
GObject *result;
result = g_object_new (NAUTILUS_TYPE_DISC_BURN_BAR,
+ "spacing", 6,
NULL);
return GTK_WIDGET (result);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]