[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/interface.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/interface.c |
Date: |
Sat, 28 May 2005 07:33:45 -0400 |
Index: graveman/current/src/interface.c
diff -u graveman/current/src/interface.c:1.47
graveman/current/src/interface.c:1.48
--- graveman/current/src/interface.c:1.47 Sun May 22 11:20:41 2005
+++ graveman/current/src/interface.c Sat May 28 11:33:41 2005
@@ -622,17 +622,18 @@
{
Tgrave *Lg = sc_grave_load("window_main.glade");
GtkWidget *Lwindow;
+ GtkCheckMenuItem *Lmenuitem;
GtkNotebook *Lbodycdaudio, *Lbodycddata, *Lbodycdcopy, *Lbodycdother,
*Lbodydvddata;
GtkHBox *Lmainbody;
GtkComboBox *Lcombo;
GtkTreeView *Ltreeaudio, *Ltreedata, *Ltopmenu, *Ltreedvddata;
+ gboolean Ltooltips = conf_get_boolean("tooltips");
g_assert(Lg);
Lmainbody = GTK_HBOX(sc_grave_get_widget(Lg, "mainbody"));
Lwindow = GTK_WIDGET(sc_grave_get_widget(Lg, "topwindow"));
- sc_tooltips(Lwindow, conf_get_boolean("tooltips"));
image_prepare_main_window(Lg);
sc_grave_set_data(Lg, Lwindow, "window");
@@ -687,13 +688,21 @@
G_CALLBACK(menu_active_panel), Lg);
g_signal_connect(G_OBJECT(sc_grave_get_widget(Lg, "menucdother")),
"activate",
G_CALLBACK(menu_active_panel), Lg);
- g_signal_connect(G_OBJECT(sc_grave_get_widget(Lg, "menuproperties")),
"activate",
- G_CALLBACK(menu_active_proprietes), Lg);
g_signal_connect(G_OBJECT(sc_grave_get_widget(Lg, "menuquit")), "activate",
G_CALLBACK(menu_quit), Lg);
g_signal_connect(G_OBJECT(sc_grave_get_widget(Lg, "menuabout")), "activate",
G_CALLBACK(on_about), Lg);
-
+
+ /* tooltips menu */
+ sc_tooltips(Lwindow, Ltooltips);
+ Lmenuitem = GTK_CHECK_MENU_ITEM(sc_grave_get_widget(Lg, "menutooltips"));
+ gtk_check_menu_item_set_active(Lmenuitem, Ltooltips);
+
+ g_signal_connect(G_OBJECT(Lmenuitem), "activate",
+ G_CALLBACK(menu_active_tooltips), Lg);
+ g_signal_connect(G_OBJECT(sc_grave_get_widget(Lg, "menuproperties")),
"activate",
+ G_CALLBACK(menu_active_proprietes), Lg);
+
prepare_combobox_vitesse(GTK_COMBO_BOX(sc_grave_get_widget(Lg,
"dstaudiospeed")));
prepare_combobox_vitesse(GTK_COMBO_BOX(sc_grave_get_widget(Lg,
"dstcopyspeed")));
prepare_combobox_vitesse(GTK_COMBO_BOX(sc_grave_get_widget(Lg,
"dstdataspeed")));
@@ -891,7 +900,7 @@
return Lfileselection;
}
-GtkWidget* create_addfileselection (GtkWindow *AParent)
+GtkWidget* interface_create_addfileselection (GtkWindow *AParent)
{
GtkWidget *Lfileselection;
@@ -903,8 +912,8 @@
gtk_file_filter_add_pattern(filterall, "*");
Lfileselection = gtk_file_chooser_dialog_new(_("Select files to add"),
- AParent, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL);
+ AParent, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OPEN, 10, NULL);
gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(Lfileselection), TRUE);
gtk_dialog_set_default_response (GTK_DIALOG (Lfileselection),
GTK_RESPONSE_ACCEPT);
@@ -1001,7 +1010,7 @@
return Lfileselection;
}
-GtkWidget* create_adddirselection (GtkWindow *AParent)
+GtkWidget* interface_create_adddirselection (GtkWindow *AParent)
{
GtkWidget *Lfileselection;
GtkFileFilter *Lfilterall;
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/01
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/02
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/02
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/09
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/09
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/14
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/17
- [Graveman-cvs] Changes to graveman/current/src/interface.c, sylvain cresto, 2005/05/22
- [Graveman-cvs] Changes to graveman/current/src/interface.c,
sylvain cresto <=