[anjuta/gsettings-migration: 23/65] message-manager: Fixed preference names to match with GSettings rules
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/gsettings-migration: 23/65] message-manager: Fixed preference names to match with GSettings rules
- Date: Sun, 17 Oct 2010 09:34:42 +0000 (UTC)
commit 3157223cb9af905d257a514e7a98a76dcf683202
Author: Johannes Schmid <jhs gnome org>
Date: Thu Sep 30 22:12:51 2010 +0200
message-manager: Fixed preference names to match with GSettings rules
.../message-view/anjuta-message-manager-plugin.ui | 16 ++++++++--------
plugins/message-view/message-view.c | 4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/plugins/message-view/anjuta-message-manager-plugin.ui b/plugins/message-view/anjuta-message-manager-plugin.ui
index ce301e3..1550fbd 100644
--- a/plugins/message-view/anjuta-message-manager-plugin.ui
+++ b/plugins/message-view/anjuta-message-manager-plugin.ui
@@ -124,7 +124,7 @@
<property name="column_spacing">5</property>
<property name="row_spacing">5</property>
<child>
- <object class="GtkSpinButton" id="preferences_spin:int:50:0:truncat.mesg.first">
+ <object class="GtkSpinButton" id="preferences_spin:int:50:0:msgman-truncat-first">
<property name="can_focus">True</property>
<property name="adjustment">adjustment1</property>
<property name="climb_rate">1</property>
@@ -140,7 +140,7 @@
</packing>
</child>
<child>
- <object class="GtkSpinButton" id="preferences_spin:int:50:0:truncat.mesg.last">
+ <object class="GtkSpinButton" id="preferences_spin:int:50:0:msgman-truncat-first">
<property name="can_focus">True</property>
<property name="adjustment">adjustment2</property>
<property name="climb_rate">1</property>
@@ -180,7 +180,7 @@
</packing>
</child>
<child>
- <object class="GtkCheckButton" id="preferences_toggle:bool:0:0:truncat.messages">
+ <object class="GtkCheckButton" id="preferences_toggle:bool:0:0:msgman-truncate">
<property name="label" translatable="yes">Truncate long messages</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -270,7 +270,7 @@
</packing>
</child>
<child>
- <object class="GtkComboBox" id="preferences_combo:text:Underline-Plain,Underline-Squiggle,Underline-TT,Diagonal,Strike-Out:0:indicators.style.normal">
+ <object class="GtkComboBox" id="preferences_combo:text:Underline-Plain,Underline-Squiggle,Underline-TT,Diagonal,Strike-Out:0:msgman-style-normal">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="model">model2</property>
@@ -287,7 +287,7 @@
</packing>
</child>
<child>
- <object class="GtkComboBox" id="preferences_combo:text:Underline-Plain,Underline-Squiggle,Underline-TT,Diagonal,Strike-Out:0:indicators.style.warning">
+ <object class="GtkComboBox" id="preferences_combo:text:Underline-Plain,Underline-Squiggle,Underline-TT,Diagonal,Strike-Out:0:msgman-style-warning">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="model">model3</property>
@@ -306,7 +306,7 @@
</packing>
</child>
<child>
- <object class="GtkComboBox" id="preferences_combo:text:Underline-Plain,Underline-Squiggle,Underline-TT,Diagonal,Strike-Out:0:indicators.style.error">
+ <object class="GtkComboBox" id="preferences_combo:text:Underline-Plain,Underline-Squiggle,Underline-TT,Diagonal,Strike-Out:0:msgman-style-error">
<property name="visible">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="model">model4</property>
@@ -355,7 +355,7 @@
<property name="column_spacing">5</property>
<property name="row_spacing">5</property>
<child>
- <object class="GtkColorButton" id="preferences_color:color:#FF0000:0:messages.color.error">
+ <object class="GtkColorButton" id="preferences_color:color:#FF0000:0:msgman-color-error">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -368,7 +368,7 @@
</packing>
</child>
<child>
- <object class="GtkColorButton" id="preferences_color:color:#00FF00:0:messages.color.warning">
+ <object class="GtkColorButton" id="preferences_color:color:#00FF00:0:msgman-color-warning">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
diff --git a/plugins/message-view/message-view.c b/plugins/message-view/message-view.c
index b46640d..71672d3 100644
--- a/plugins/message-view/message-view.c
+++ b/plugins/message-view/message-view.c
@@ -1040,14 +1040,14 @@ imessage_view_append (IAnjutaMessageView *message_view,
break;
case IANJUTA_MESSAGE_VIEW_TYPE_WARNING:
color = anjuta_preferences_get (anjuta_preferences_default(),
- "messages.color.warning");
+ "msgman-color-warning");
/* FIXME: There is no GTK_STOCK_WARNING which would fit better here */
view->privat->warn_count++;
stock_id = GTK_STOCK_DIALOG_WARNING;
break;
case IANJUTA_MESSAGE_VIEW_TYPE_ERROR:
color = anjuta_preferences_get (anjuta_preferences_default(),
- "messages.color.error");
+ "msgman-color-error");
view->privat->error_count++;
stock_id = GTK_STOCK_STOP;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]