pull/32/head
Ivan Dmitrievich Yartsev 11 months ago
parent e36032b310
commit 3f0dfa0d9c

@ -280,7 +280,7 @@ void yon_on_insert_restricted_check(GtkEditable *editable, const gchar *text, gi
gint i, j = 0;
for (i = 0; i < length; i++) {
if (text[i]!='!'&&text[i]!='@'&&text[i]!='#'&&text[i]!='%'&&text[i]!='^'&&text[i]!='&'&&text[i]!='*'&&text[i]!='\"'&&text[i]!='\'') {
if ((text[i]>='0'&&text[i]<='9')||(text[i]>='a'&&text[i]<='z')||(text[i]>='A'&&text[i]<='Z')) {
new_text[j] = text[i];
j++;
}

@ -181,9 +181,7 @@
}
g_object_set_property(G_OBJECT(param->track_widget),param->property_name,val);
}
if (__yon_main_window_config.width==0) gtk_window_get_size(GTK_WINDOW(__yon_window_config_target_window),&__yon_main_window_config.width,NULL);
if (__yon_main_window_config.height==0) gtk_window_get_size(GTK_WINDOW(__yon_window_config_target_window),NULL,&__yon_main_window_config.height);
gtk_window_resize(__yon_window_config_target_window,__yon_main_window_config.width,__yon_main_window_config.height);
if (__yon_main_window_config.width&&__yon_main_window_config.height) gtk_window_resize(__yon_window_config_target_window,__yon_main_window_config.width,__yon_main_window_config.height);
gtk_window_move(__yon_window_config_target_window,__yon_main_window_config.x,__yon_main_window_config.y);
pthread_t tid;
pthread_create(&tid,NULL,(void *)_yon_maximize,NULL);

Loading…
Cancel
Save