• R/O
  • SSH
  • HTTPS

sagcad: Commit


Commit MetaInfo

Revision63 (tree)
Time2009-05-04 02:11:12
Authorkappa

Log Message

(empty log message)

Change Summary

Incremental Difference

--- sagcad/trunk/src/sagcad.c (revision 62)
+++ sagcad/trunk/src/sagcad.c (revision 63)
@@ -207,17 +207,11 @@
207207 GtkWidget *filletR_box;
208208 GtkWidget *length_box;
209209 GtkWidget *scroll_pitch_box;
210-// GtkWidget *hbox;//work_hbox;
211210 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+
218214 int debug = 0;
219-
220-
221215 #ifdef DEBUG
222216 debug = 1;
223217 #endif
@@ -236,7 +230,7 @@
236230
237231 /* Set default icon */
238232 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");
240234 gtk_window_set_default_icon_from_file ("./sagcad.png", NULL);
241235 }
242236
@@ -251,7 +245,6 @@
251245 bind_textdomain_codeset(PACKAGE, "UTF-8");
252246 textdomain(PACKAGE);
253247 #endif
254-
255248 //g_print("LOCALEDIR = %s", LOCALEDIR);
256249
257250
@@ -308,14 +301,6 @@
308301 /* メインウインドウを表示した後でないとダメ */
309302 font_open(sagcad_dimension.font_file);
310303
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-
319304 /* vbox 生成 (縦に追加) */
320305 vbox = gtk_vbox_new(FALSE, 0);
321306 gtk_container_add(GTK_CONTAINER(MainWindow), vbox);
@@ -449,9 +434,6 @@
449434
450435
451436
452-GtkWidget *status_area;
453-GtkWidget *statusbar_grip;
454-
455437 status_area = gtk_hbox_new(FALSE, 2);
456438 gtk_box_pack_start(GTK_BOX(vbox), status_area, FALSE, FALSE, 0);
457439 gtk_widget_show(status_area);
@@ -472,19 +454,6 @@
472454 gtk_widget_show(statusbar_grip);
473455
474456
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-
488457 /* -----------------------------
489458 * 開始処理
490459 */
@@ -532,7 +501,6 @@
532501
533502 /* GC 開放 */
534503 delete_gc(gc);
535-// delete_gc(ls_gc);
536504
537505
538506 /* メモリ開放 */
@@ -629,7 +597,7 @@
629597 g_print("\nSagCAD ");
630598 g_print(VERSION);
631599 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");
633601 g_print("Yutaka Sagiya.\n");
634602 g_print("SagCAD comes with NO WARRANTY,\n");
635603 g_print("to the extent permitted by law.\n");
Show on old repository browser