[gwget] 2009-06-20 David Sedeño <david alderia com>
- From: David Sedeño Fernández <davidsf src gnome org>
- To: svn-commits-list gnome org
- Subject: [gwget] 2009-06-20 David Sedeño <david alderia com>
- Date: Sat, 20 Jun 2009 10:24:11 -0400 (EDT)
commit 31e5a7885ba7d9121a2810afc98eff22fb5a0db8
Author: David Sedeño <david alderia com>
Date: Sat Jun 20 12:51:01 2009 +0200
2009-06-20 David Sedeño <david alderia com>
* src/new_window.c: Use gtk_combo_box_get_active_text instead
of gtk_entry_get_text
ChangeLog | 4 +++-
src/new_window.c | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 42aa7b5..4b1533d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
2009-06-20 David Sedeño <david alderia com>
- * data/gwget.ui: Redone the menuitems
+ * src/new_window.c: Use gtk_combo_box_get_active_text instead
+ of gtk_entry_get_text
+ * data/gwget.ui: Redone the menuitems. Remove unused dialog3.
* src/main_window.c: Load correct file
* data/preferences.ui: Update with glade-3
diff --git a/src/new_window.c b/src/new_window.c
index 57b4b60..45ae81e 100644
--- a/src/new_window.c
+++ b/src/new_window.c
@@ -52,7 +52,7 @@ void on_ok_button_clicked(GtkWidget *widget, gpointer data)
if (strcmp(url,"")) {
url = g_strdup(url);
- save_in=g_strdup(gtk_entry_get_text (GTK_ENTRY(GTK_WIDGET (gtk_builder_get_object(builder, "save_in_entry")))));
+ save_in=g_strdup(gtk_combo_box_get_active_text (GTK_COMBO_BOX( GTK_WIDGET (gtk_builder_get_object(builder, "save_in_comboboxentry")))));
if (!strcmp(save_in,"") && gwget_pref.download_dir) {
save_in=g_strdup(gwget_pref.download_dir);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]