[gnome-color-manager] trivial: No image on the import dialog
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: No image on the import dialog
- Date: Mon, 18 Jul 2016 12:33:16 +0000 (UTC)
commit 992d74b04a28a745971a462030c6c417db34dfbb
Author: Richard Hughes <richard hughsie com>
Date: Mon Jul 18 13:24:48 2016 +0100
trivial: No image on the import dialog
src/gcm-import.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/gcm-import.c b/src/gcm-import.c
index 4f57785..8708057 100644
--- a/src/gcm-import.c
+++ b/src/gcm-import.c
@@ -83,7 +83,6 @@ main (int argc, char **argv)
gboolean ret;
GOptionContext *context;
GtkResponseType response;
- GtkWidget *image = NULL;
GtkWidget *dialog;
g_autoptr(CdIcc) icc = NULL;
g_autoptr(GError) error = NULL;
@@ -158,12 +157,6 @@ main (int argc, char **argv)
description = cd_icc_get_description (icc, lang, NULL);
copyright = cd_icc_get_copyright (icc, lang, NULL);
- /* use the same icon as the color control panel */
- image = gtk_image_new_from_icon_name ("preferences-color",
- GTK_ICON_SIZE_DIALOG);
- gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0);
- gtk_widget_show (image);
-
/* create message */
string = g_string_new ("");
/* TRANSLATORS: message text */
@@ -213,7 +206,6 @@ main (int argc, char **argv)
GTK_BUTTONS_CLOSE,
_("Color profile is already imported"));
gtk_window_set_icon_name (GTK_WINDOW (dialog), GCM_STOCK_ICON);
- gtk_message_dialog_set_image (GTK_MESSAGE_DIALOG (dialog), image);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", string->str);
gtk_dialog_add_button (GTK_DIALOG (dialog), _("Show Details"), GTK_RESPONSE_HELP);
response = gtk_dialog_run (GTK_DIALOG (dialog));
@@ -254,7 +246,6 @@ main (int argc, char **argv)
GTK_BUTTONS_CANCEL,
"%s",
title);
- gtk_message_dialog_set_image (GTK_MESSAGE_DIALOG (dialog), image);
gtk_window_set_icon_name (GTK_WINDOW (dialog), GCM_STOCK_ICON);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", string->str);
/* TRANSLATORS: button text */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]