(empty log message)
@@ -207,17 +207,11 @@ | ||
207 | 207 | GtkWidget *filletR_box; |
208 | 208 | GtkWidget *length_box; |
209 | 209 | GtkWidget *scroll_pitch_box; |
210 | -// GtkWidget *hbox;//work_hbox; | |
211 | 210 | GtkWidget *toolbarY; |
212 | - | |
213 | - //GtkWidget *image; | |
214 | - //GdkPixmap *pixmap; | |
215 | - //GdkBitmap *mask; | |
216 | -// GdkCursor *cursor; | |
217 | - | |
211 | + GtkWidget *status_area; | |
212 | + GtkWidget *statusbar_grip; | |
213 | + | |
218 | 214 | int debug = 0; |
219 | - | |
220 | - | |
221 | 215 | #ifdef DEBUG |
222 | 216 | debug = 1; |
223 | 217 | #endif |
@@ -236,7 +230,7 @@ | ||
236 | 230 | |
237 | 231 | /* Set default icon */ |
238 | 232 | if (g_file_test ("./sagcad.png", G_FILE_TEST_IS_REGULAR | G_FILE_TEST_IS_SYMLINK)) { |
239 | - g_print("sagcad.c : main() : sagcad.png OK!\n"); | |
233 | + //g_print("sagcad.c : main() : sagcad.png OK!\n"); | |
240 | 234 | gtk_window_set_default_icon_from_file ("./sagcad.png", NULL); |
241 | 235 | } |
242 | 236 |
@@ -251,7 +245,6 @@ | ||
251 | 245 | bind_textdomain_codeset(PACKAGE, "UTF-8"); |
252 | 246 | textdomain(PACKAGE); |
253 | 247 | #endif |
254 | - | |
255 | 248 | //g_print("LOCALEDIR = %s", LOCALEDIR); |
256 | 249 | |
257 | 250 |
@@ -308,14 +301,6 @@ | ||
308 | 301 | /* メインウインドウを表示した後でないとダメ */ |
309 | 302 | font_open(sagcad_dimension.font_file); |
310 | 303 | |
311 | - /* icon 作成 */ | |
312 | - //pixmap = gdk_pixmap_create_from_xpm_d(MainWindow->window, | |
313 | - // &mask, | |
314 | - // &MainWindow->style->bg[GTK_STATE_NORMAL], | |
315 | - // (gchar **)sagcad_xpm); | |
316 | - //image = gtk_image_new_from_pixmap(pixmap, mask); | |
317 | - //gtk_window_set_default_icon(gtk_image_get_pixbuf(GTK_IMAGE(image))); | |
318 | - | |
319 | 304 | /* vbox 生成 (縦に追加) */ |
320 | 305 | vbox = gtk_vbox_new(FALSE, 0); |
321 | 306 | gtk_container_add(GTK_CONTAINER(MainWindow), vbox); |
@@ -449,9 +434,6 @@ | ||
449 | 434 | |
450 | 435 | |
451 | 436 | |
452 | -GtkWidget *status_area; | |
453 | -GtkWidget *statusbar_grip; | |
454 | - | |
455 | 437 | status_area = gtk_hbox_new(FALSE, 2); |
456 | 438 | gtk_box_pack_start(GTK_BOX(vbox), status_area, FALSE, FALSE, 0); |
457 | 439 | gtk_widget_show(status_area); |
@@ -472,19 +454,6 @@ | ||
472 | 454 | gtk_widget_show(statusbar_grip); |
473 | 455 | |
474 | 456 | |
475 | - | |
476 | - | |
477 | - /* ステータスバーの生成 */ | |
478 | -/* statusbar = gtk_entry_new(); | |
479 | - gtk_box_pack_start(GTK_BOX(vbox), statusbar, FALSE, FALSE, 0); | |
480 | - gtk_editable_set_editable(GTK_EDITABLE(statusbar), FALSE); | |
481 | - gtk_entry_set_max_length(GTK_ENTRY(statusbar), 256); | |
482 | - gtk_widget_show(statusbar); | |
483 | -*/ | |
484 | - | |
485 | - | |
486 | - | |
487 | - | |
488 | 457 | /* ----------------------------- |
489 | 458 | * 開始処理 |
490 | 459 | */ |
@@ -532,7 +501,6 @@ | ||
532 | 501 | |
533 | 502 | /* GC 開放 */ |
534 | 503 | delete_gc(gc); |
535 | -// delete_gc(ls_gc); | |
536 | 504 | |
537 | 505 | |
538 | 506 | /* メモリ開放 */ |
@@ -629,7 +597,7 @@ | ||
629 | 597 | g_print("\nSagCAD "); |
630 | 598 | g_print(VERSION); |
631 | 599 | g_print("\n"); |
632 | - g_print("Copyright (C) 1998-2007 Sagiya Metal Mold Factory,Inc.\n"); | |
600 | + g_print("Copyright (C) 1998-2009 Sagiya Metal Mold Factory,Inc.\n"); | |
633 | 601 | g_print("Yutaka Sagiya.\n"); |
634 | 602 | g_print("SagCAD comes with NO WARRANTY,\n"); |
635 | 603 | g_print("to the extent permitted by law.\n"); |