summaryrefslogtreecommitdiffstats
path: root/src/gdu-format-tool
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2009-04-30 16:28:44 +0200
committerTomas Bzatek <tbzatek@redhat.com>2009-04-30 16:28:44 +0200
commit7f92162788281c40298f88ba4d1902ad19142d1c (patch)
tree84aa655e02c3827d7cf1eb714eef43b7a7e6ff3d /src/gdu-format-tool
parent15218339ee6c0a8c3bf3145028995fc9df3ff374 (diff)
downloadgnome-disk-utility-7f92162788281c40298f88ba4d1902ad19142d1c.tar.gz
gnome-disk-utility-7f92162788281c40298f88ba4d1902ad19142d1c.tar.xz
gnome-disk-utility-7f92162788281c40298f88ba4d1902ad19142d1c.zip
the "Open Disk Utility" button should use the Palimpsest icon
Diffstat (limited to 'src/gdu-format-tool')
-rw-r--r--src/gdu-format-tool/format-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gdu-format-tool/format-window.c b/src/gdu-format-tool/format-window.c
index 9333d46..7f7f254 100644
--- a/src/gdu-format-tool/format-window.c
+++ b/src/gdu-format-tool/format-window.c
@@ -339,6 +339,7 @@ nautilus_gdu_spawn_dialog (GduPresentable *presentable)
GtkWidget *content_area;
FormatDialogPrivate *priv;
GtkWidget *button;
+ GtkWidget *icon;
g_return_if_fail (presentable != NULL);
@@ -365,6 +366,8 @@ nautilus_gdu_spawn_dialog (GduPresentable *presentable)
NULL);
priv->close_button = gtk_dialog_add_button (dialog, GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
button = gtk_dialog_add_button (dialog, _("Open Disk Utility"), GTK_RESPONSE_ACCEPT);
+ icon = gtk_image_new_from_icon_name ("palimpsest", GTK_ICON_SIZE_BUTTON);
+ gtk_button_set_image (GTK_BUTTON (button), icon);
gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (gtk_dialog_get_action_area (dialog)), button, TRUE);
gtk_widget_set_tooltip_text (button, _("Format volume using the Palimpsest Disk Utility"));
gtk_dialog_set_default_response (dialog, GTK_RESPONSE_CLOSE);