[gnome-color-manager] trivial: remove some input flicker when showing the prefs dialog
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: remove some input flicker when showing the prefs dialog
- Date: Sat, 28 Nov 2009 23:05:31 +0000 (UTC)
commit b8f5162396e52c2bad34605ad42147ebaee806dc
Author: Richard Hughes <richard hughsie com>
Date: Sat Nov 28 23:04:47 2009 +0000
trivial: remove some input flicker when showing the prefs dialog
data/gcm-prefs.ui | 4 ++--
src/gcm-prefs.c | 6 ++++++
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/data/gcm-prefs.ui b/data/gcm-prefs.ui
index d75db27..46aa454 100644
--- a/data/gcm-prefs.ui
+++ b/data/gcm-prefs.ui
@@ -199,7 +199,7 @@
<child>
<object class="GtkLabel" id="label_title_serial">
<property name="visible">True</property>
- <property name="label" translatable="yes" comments="The serial number of the device">Serial:</property>
+ <property name="label" translatable="yes" comments="The serial number of the device">Serial number:</property>
</object>
<packing>
<property name="expand">False</property>
@@ -217,7 +217,7 @@
<child>
<object class="GtkLabel" id="label_serial">
<property name="visible">True</property>
- <property name="label">serial:</property>
+ <property name="label">serial</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/src/gcm-prefs.c b/src/gcm-prefs.c
index af352e8..516c01e 100644
--- a/src/gcm-prefs.c
+++ b/src/gcm-prefs.c
@@ -1815,6 +1815,12 @@ main (int argc, char **argv)
gtk_widget_hide (widget);
widget = GTK_WIDGET (gtk_builder_get_object (builder, "label_profile"));
gtk_widget_set_sensitive (widget, FALSE);
+ widget = GTK_WIDGET (gtk_builder_get_object (builder, "hbox_manufacturer"));
+ gtk_widget_hide (widget);
+ widget = GTK_WIDGET (gtk_builder_get_object (builder, "hbox_model"));
+ gtk_widget_hide (widget);
+ widget = GTK_WIDGET (gtk_builder_get_object (builder, "hbox_serial"));
+ gtk_widget_hide (widget);
/* setup icc profiles list */
widget = GTK_WIDGET (gtk_builder_get_object (builder, "combobox_profile"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]