[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/src chat_window.c,1.62,1.62.2.1
From: |
Andy Maloney <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/src chat_window.c,1.62,1.62.2.1 |
Date: |
Sat, 22 Mar 2003 19:23:25 -0500 |
Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv29744/src
Modified Files:
Tag: new_prefs
chat_window.c
Log Message:
Use iGet and iSetLocalPref
Comment out prev and next keys for now
Index: chat_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/chat_window.c,v
retrieving revision 1.62
retrieving revision 1.62.2.1
diff -u -r1.62 -r1.62.2.1
--- chat_window.c 22 Mar 2003 11:48:25 -0000 1.62
+++ chat_window.c 23 Mar 2003 00:23:23 -0000 1.62.2.1
@@ -112,7 +112,7 @@
iconv_t conv_desc;
int tries;
- if( use_recoding == 1 ) {
+ if( iGetLocalPref( "use_recoding" ) == 1 ) {
if( direction == RECODE_TO_REMOTE )
conv_desc = iconv_open(
cGetLocalPref("remote_encoding"), cGetLocalPref("local_encoding") );
else
@@ -167,7 +167,7 @@
fprintf( stderr, "Ayttm: recoding from %s to %s is not
valid, sorry!\n"
"Turning recoding off.\n",
cGetLocalPref("local_encoding"),
cGetLocalPref("remote_encoding"));
- use_recoding = 0;
+ iSetLocalPref( "use_recoding", 0 );
return g_strdup(source_text);
}
}
@@ -968,7 +968,7 @@
* when next contains every modifier that previous has (with
some more)
* but i really don't think that will be a huge problem =)
*/
- if ((modifiers == accel_prev_tab.modifiers) && (event->keyval
== accel_prev_tab.keyval)) {
+/* if ((modifiers == accel_prev_tab.modifiers) && (event->keyval
== accel_prev_tab.keyval)) {
gtk_signal_emit_stop_by_name(GTK_OBJECT(widget),
"key_press_event");
gtk_notebook_prev_page( GTK_NOTEBOOK(cw->notebook) );
return gtk_true();
@@ -976,7 +976,7 @@
gtk_signal_emit_stop_by_name(GTK_OBJECT(widget),
"key_press_event");
gtk_notebook_next_page( GTK_NOTEBOOK(cw->notebook) );
return gtk_true();
- }
+ }*/
}
if(cw->preferred==NULL || modifiers)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/src chat_window.c,1.62,1.62.2.1,
Andy Maloney <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm/src/gtk gtkutils.c,1.2,1.3 gtkutils.h,1.2,1.3
- Next by Date:
[Ayttm-commits] CVS: ayttm/src globals.h,1.11,1.11.2.1
- Previous by thread:
[Ayttm-commits] CVS: ayttm/src/gtk gtkutils.c,1.2,1.3 gtkutils.h,1.2,1.3
- Next by thread:
[Ayttm-commits] CVS: ayttm/src globals.h,1.11,1.11.2.1
- Index(es):