[gthumb/ext] removed option to ask file options before saving an image
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] removed option to ask file options before saving an image
- Date: Sun, 11 Oct 2009 20:59:22 +0000 (UTC)
commit a53ecdd1819354f0fafcf25b50561c1f4ab38e74
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Oct 11 22:11:29 2009 +0200
removed option to ask file options before saving an image
.../data/gthumb-pixbuf-savers.schemas.in | 13 -------------
.../data/ui/save-options-preferences.ui | 16 +---------------
extensions/pixbuf_savers/preferences.c | 2 --
extensions/pixbuf_savers/preferences.h | 1 -
4 files changed, 1 insertions(+), 31 deletions(-)
---
diff --git a/extensions/pixbuf_savers/data/gthumb-pixbuf-savers.schemas.in b/extensions/pixbuf_savers/data/gthumb-pixbuf-savers.schemas.in
index 3e4fb41..d861de5 100644
--- a/extensions/pixbuf_savers/data/gthumb-pixbuf-savers.schemas.in
+++ b/extensions/pixbuf_savers/data/gthumb-pixbuf-savers.schemas.in
@@ -1,19 +1,6 @@
<gconfschemafile>
<schemalist>
- <schema>
- <key>/schemas/apps/gthumb/ext/save_options/ask_options</key>
- <applyto>/apps/gthumb/ext/save_options/ask_options</applyto>
- <owner>gthumb</owner>
- <type>bool</type>
- <default>true</default>
- <locale name="C">
- <short></short>
- <long>
- </long>
- </locale>
- </schema>
-
<!-- JPEG Options -->
<schema>
diff --git a/extensions/pixbuf_savers/data/ui/save-options-preferences.ui b/extensions/pixbuf_savers/data/ui/save-options-preferences.ui
index 65c6bd2..3fb9e4d 100644
--- a/extensions/pixbuf_savers/data/ui/save-options-preferences.ui
+++ b/extensions/pixbuf_savers/data/ui/save-options-preferences.ui
@@ -18,20 +18,6 @@
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
- <object class="GtkCheckButton" id="ask_options_checkbutton">
- <property name="label" translatable="yes">_Ask the options before saving a file</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<object class="GtkVBox" id="vbox2">
<property name="visible">True</property>
<property name="orientation">vertical</property>
@@ -159,7 +145,7 @@
</child>
</object>
<packing>
- <property name="position">1</property>
+ <property name="position">0</property>
</packing>
</child>
</object>
diff --git a/extensions/pixbuf_savers/preferences.c b/extensions/pixbuf_savers/preferences.c
index c78311a..5569a22 100644
--- a/extensions/pixbuf_savers/preferences.c
+++ b/extensions/pixbuf_savers/preferences.c
@@ -132,8 +132,6 @@ so__dlg_preferences_construct_cb (GtkWidget *dialog,
G_CALLBACK (treeselection_changed_cb),
dialog);
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (GET_WIDGET ("ask_options_checkbutton")), eel_gconf_get_boolean (PREF_SAVE_OPTIONS_ASK_OPTIONS, TRUE));
-
label = gtk_label_new (_("Saving"));
gtk_widget_show (label);
diff --git a/extensions/pixbuf_savers/preferences.h b/extensions/pixbuf_savers/preferences.h
index da2d013..484d0e9 100644
--- a/extensions/pixbuf_savers/preferences.h
+++ b/extensions/pixbuf_savers/preferences.h
@@ -33,7 +33,6 @@ typedef enum {
} GthTiffCompression;
-#define PREF_SAVE_OPTIONS_ASK_OPTIONS "/apps/gthumb/ext/save_options/ask_options"
#define PREF_JPEG_QUALITY "/apps/gthumb/save_options/jpeg/quality"
#define PREF_JPEG_SMOOTHING "/apps/gthumb/save_options/jpeg/smoothing"
#define PREF_JPEG_OPTIMIZE "/apps/gthumb/save_options/jpeg/optimize"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]