[dasher] whitespace
- From: Patrick Welche <pwelche src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [dasher] whitespace
- Date: Fri, 7 Aug 2009 21:01:47 +0000 (UTC)
commit 38736a9b5950e32a6c4dbf1547ab4c6646f4fe92
Author: Patrick Welche <prlw1 cam ac uk>
Date: Fri Aug 7 13:34:15 2009 +0200
whitespace
Data/GUI/dasher.preferences.ui | 2 +-
Src/Gtk2/Preferences.cpp | 20 ++++++++++----------
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/Data/GUI/dasher.preferences.ui b/Data/GUI/dasher.preferences.ui
index 56d9710..6f3e1e3 100644
--- a/Data/GUI/dasher.preferences.ui
+++ b/Data/GUI/dasher.preferences.ui
@@ -269,7 +269,7 @@
<property name="xalign">0</property>
<property name="xpad">2</property>
<property name="ypad">2</property>
- <property name="label" translatable="yes">Use this control to adjust the relative sizes of the
+ <property name="label" translatable="yes">Use this control to adjust the relative sizes of the
letter boxes. Note that selecting high values will slow
your writing speed.</property>
<property name="wrap">True</property>
diff --git a/Src/Gtk2/Preferences.cpp b/Src/Gtk2/Preferences.cpp
index 27eea06..a0db8a3 100644
--- a/Src/Gtk2/Preferences.cpp
+++ b/Src/Gtk2/Preferences.cpp
@@ -519,7 +519,7 @@ static void dasher_preferences_dialogue_populate_special_speed(DasherPreferences
DasherPreferencesDialoguePrivate *pPrivate = DASHER_PREFERENCES_DIALOGUE_PRIVATE(pSelf);
double dNewValue = dasher_app_settings_get_long(pPrivate->pAppSettings, LP_MAX_BITRATE) / 100.0;
- gtk_range_set_value(pPrivate->pSpeedSlider, dNewValue);
+ gtk_range_set_value(pPrivate->pSpeedSlider, dNewValue);
}
static void dasher_preferences_dialogue_populate_special_mouse_start(DasherPreferencesDialogue *pSelf) {
@@ -554,7 +554,7 @@ static void dasher_preferences_dialogue_populate_special_orientation(DasherPrefe
switch (dasher_app_settings_get_long(pPrivate->pAppSettings, LP_ORIENTATION)) {
case Dasher::Opts::Alphabet:
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton1"))) != TRUE)
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton1")), TRUE);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton1")), TRUE);
pPrivate->bIgnoreSignals = true;
@@ -587,9 +587,9 @@ static void dasher_preferences_dialogue_populate_special_orientation(DasherPrefe
case Dasher::Opts::LeftToRight:
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton2"))) != TRUE)
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton2")), TRUE);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton2")), TRUE);
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton12"))) != TRUE)
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton12")), TRUE);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton12")), TRUE);
gtk_widget_set_sensitive(GTK_WIDGET(pPrivate->pLRButton), TRUE);
gtk_widget_set_sensitive(GTK_WIDGET(pPrivate->pRLButton), TRUE);
@@ -599,9 +599,9 @@ static void dasher_preferences_dialogue_populate_special_orientation(DasherPrefe
case Dasher::Opts::RightToLeft:
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton3"))) != TRUE)
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton3")), TRUE);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton3")), TRUE);
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton12"))) != TRUE)
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton12")), TRUE);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton12")), TRUE);
gtk_widget_set_sensitive(GTK_WIDGET(pPrivate->pLRButton), TRUE);
gtk_widget_set_sensitive(GTK_WIDGET(pPrivate->pRLButton), TRUE);
@@ -623,9 +623,9 @@ static void dasher_preferences_dialogue_populate_special_orientation(DasherPrefe
case Dasher::Opts::BottomToTop:
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton5"))) != TRUE)
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton5")), TRUE);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton5")), TRUE);
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton12"))) != TRUE)
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton12")), TRUE);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "radiobutton12")), TRUE);
gtk_widget_set_sensitive(GTK_WIDGET(pPrivate->pLRButton), TRUE);
gtk_widget_set_sensitive(GTK_WIDGET(pPrivate->pRLButton), TRUE);
@@ -648,7 +648,7 @@ static void dasher_preferences_dialogue_populate_special_appstyle(DasherPreferen
break;
case 2:
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "appstyle_direct")), TRUE);
- break;
+ break;
case 3:
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "appstyle_fullscreen")), TRUE);
break;
@@ -702,7 +702,7 @@ static void dasher_preferences_dialogue_populate_special_uniform(DasherPreferenc
static void dasher_preferences_dialogue_populate_special_colour(DasherPreferencesDialogue *pSelf) {
DasherPreferencesDialoguePrivate *pPrivate = DASHER_PREFERENCES_DIALOGUE_PRIVATE(pSelf);
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "manual_colour")), !dasher_app_settings_get_bool(pPrivate->pAppSettings, BP_PALETTE_CHANGE));
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(pPrivate->pXML, "manual_colour")), !dasher_app_settings_get_bool(pPrivate->pAppSettings, BP_PALETTE_CHANGE));
gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_get_object(pPrivate->pXML, "ColorTree")), !dasher_app_settings_get_bool(pPrivate->pAppSettings, BP_PALETTE_CHANGE));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]