[gnome-disk-utility/udisks2-port] Add images to warning and error cluebars in the Create Partition dialog
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/udisks2-port] Add images to warning and error cluebars in the Create Partition dialog
- Date: Thu, 10 Nov 2011 22:40:59 +0000 (UTC)
commit e890762e562e849a806041a2069be5e8d2491306
Author: David Zeuthen <davidz redhat com>
Date: Thu Nov 10 17:40:32 2011 -0500
Add images to warning and error cluebars in the Create Partition dialog
Signed-off-by: David Zeuthen <davidz redhat com>
data/ui/create-partition-dialog.ui | 37 ++++++++++++++++++++++++++++++++++-
1 files changed, 35 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/create-partition-dialog.ui b/data/ui/create-partition-dialog.ui
index c0e7228..f2de180 100644
--- a/data/ui/create-partition-dialog.ui
+++ b/data/ui/create-partition-dialog.ui
@@ -74,17 +74,34 @@
<property name="can_focus">False</property>
<property name="orientation">horizontal</property>
<property name="spacing">12</property>
+
+ <child>
+ <object class="GtkImage" id="infobar1-image1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1.0</property>
+ <property name="stock">gtk-dialog-error</property>
+ <property name="icon-size">2</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
<child>
<object class="GtkLabel" id="infobar1-label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes"><b>Error:</b> Cannot create a new partition. There are already four primary partitions.</property>
<property name="use_markup">True</property>
+ <property name="xalign">0.0</property>
+ <property name="selectable">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">0</property>
+ <property name="position">1</property>
</packing>
</child>
</object>
@@ -105,16 +122,32 @@
<property name="orientation">horizontal</property>
<property name="spacing">12</property>
<child>
+ <object class="GtkImage" id="infobar2-image1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1.0</property>
+ <property name="stock">gtk-dialog-warning</property>
+ <property name="icon-size">2</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkLabel" id="infobar2-label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes"><b>Warning:</b> This is the last primary partition that can be created.</property>
<property name="use_markup">True</property>
+ <property name="xalign">0.0</property>
+ <property name="selectable">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">0</property>
+ <property name="position">1</property>
</packing>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]