remove old gtkstyle hack.
authorFred Chien <fred@lxde.org>
Sun, 30 Mar 2008 14:01:44 +0000 (14:01 +0000)
committerFred Chien <fred@lxde.org>
Sun, 30 Mar 2008 14:01:44 +0000 (14:01 +0000)
src/gtk-run.c
src/plugins/netstat/netstat.c
src/plugins/volumealsa/volumealsa.c

index 6b3fcd9..5e21fa2 100644 (file)
@@ -119,7 +119,7 @@ void gtk_run()
     entry = gtk_entry_new();
 
     /* fix background */
     entry = gtk_entry_new();
 
     /* fix background */
-    gtk_widget_set_style(win, p->defstyle);
+    //gtk_widget_set_style(win, p->defstyle);
 
     gtk_entry_set_activates_default( (GtkEntry*)entry, TRUE );
     gtk_box_pack_start( (GtkBox*)((GtkDialog*)win)->vbox,
 
     gtk_entry_set_activates_default( (GtkEntry*)entry, TRUE );
     gtk_box_pack_start( (GtkBox*)((GtkDialog*)win)->vbox,
index 28c1e1e..9bcfa43 100644 (file)
@@ -80,7 +80,7 @@ static void wireless_connect(GtkWidget *widget, ap_setting *aps)
 
         /* create dialog window for typing password */
         aps->ni->netdev_list->info.pg = passwd_gui_new(aps);
 
         /* create dialog window for typing password */
         aps->ni->netdev_list->info.pg = passwd_gui_new(aps);
-        passwd_gui_set_style(aps->ni->netdev_list->info.pg, gtk_style_new());
+        //passwd_gui_set_style(aps->ni->netdev_list->info.pg, gtk_style_new());
     }
 }
 
     }
 }
 
index 924f541..61766c4 100644 (file)
@@ -166,7 +166,7 @@ static void panel_init(plugin *p)
     gtk_window_set_type_hint(GTK_WINDOW(vol->dlg), GDK_WINDOW_TYPE_HINT_DIALOG);
 
     /* setting background to default */
     gtk_window_set_type_hint(GTK_WINDOW(vol->dlg), GDK_WINDOW_TYPE_HINT_DIALOG);
 
     /* setting background to default */
-    gtk_widget_set_style(vol->dlg, p->panel->defstyle);
+    //gtk_widget_set_style(vol->dlg, p->panel->defstyle);
 
     /* Focus-out signal */
     g_signal_connect (G_OBJECT (vol->dlg), "focus_out_event",
 
     /* Focus-out signal */
     g_signal_connect (G_OBJECT (vol->dlg), "focus_out_event",