gthumb r2227 - in branches/gthumb-2-10: . src
- From: mjc svn gnome org
- To: svn-commits-list gnome org
- Subject: gthumb r2227 - in branches/gthumb-2-10: . src
- Date: Mon, 28 Jan 2008 20:27:44 +0000 (GMT)
Author: mjc
Date: Mon Jan 28 20:27:44 2008
New Revision: 2227
URL: http://svn.gnome.org/viewvc/gthumb?rev=2227&view=rev
Log:
2008-01-28 Michael J. Chudobiak <mjc svn gnome org>
* NEWS:
* src/dlg-web-exporter.c: (theme_dialog__install_theme_clicked):
* src/gth-browser-actions-callbacks.c:
(gth_browser_activate_action_go_location):
Remove duplicated function calls.
* src/gth-location.c: (gth_location_open_other):
Fixed bug #477285 - Hitting enter in Open Location Dialog while
text entry is focused does nothing.
Patch by Manuel Braga <mul braga gmail com>.
Modified:
branches/gthumb-2-10/ChangeLog
branches/gthumb-2-10/NEWS
branches/gthumb-2-10/src/dlg-web-exporter.c
branches/gthumb-2-10/src/gth-browser-actions-callbacks.c
branches/gthumb-2-10/src/gth-location.c
Modified: branches/gthumb-2-10/NEWS
==============================================================================
--- branches/gthumb-2-10/NEWS (original)
+++ branches/gthumb-2-10/NEWS Mon Jan 28 20:27:44 2008
@@ -4,6 +4,8 @@
* Fixed bug #508873 - gthumb cannot scale up images
* Fixed bug #510326 - x-content/* support
* Fixed bug #510521 - Canceling Save stops movement between pictures
+ * Fixed bug #477285 - Hitting enter in Open Location Dialog while
+ text entry is focused does nothing
version 2.10.8
--------------
Modified: branches/gthumb-2-10/src/dlg-web-exporter.c
==============================================================================
--- branches/gthumb-2-10/src/dlg-web-exporter.c (original)
+++ branches/gthumb-2-10/src/dlg-web-exporter.c Mon Jan 28 20:27:44 2008
@@ -844,7 +844,8 @@
{
GtkWidget *file_sel;
- file_sel = gtk_file_chooser_dialog_new (_("Select Album Theme"), NULL,
+ file_sel = gtk_file_chooser_dialog_new (_("Select Album Theme"),
+ GTK_WINDOW (tdata->dialog),
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
@@ -852,19 +853,16 @@
/* Permit VFS URIs */
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (file_sel), FALSE);
+ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (file_sel), g_get_home_dir ());
+ gtk_dialog_set_default_response(GTK_DIALOG (file_sel), GTK_RESPONSE_ACCEPT);
- gtk_window_set_modal (GTK_WINDOW (file_sel), TRUE);
g_object_set_data (G_OBJECT (file_sel), "theme_dialog_data", tdata);
- gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (file_sel), g_get_home_dir ());
-
- g_signal_connect (GTK_DIALOG (file_sel),
+ g_signal_connect (G_OBJECT (file_sel),
"response",
G_CALLBACK (install_theme_response_cb),
NULL);
- gtk_window_set_transient_for (GTK_WINDOW (file_sel),
- GTK_WINDOW (tdata->dialog));
gtk_window_set_modal (GTK_WINDOW (file_sel), TRUE);
gtk_widget_show (file_sel);
}
Modified: branches/gthumb-2-10/src/gth-browser-actions-callbacks.c
==============================================================================
--- branches/gthumb-2-10/src/gth-browser-actions-callbacks.c (original)
+++ branches/gthumb-2-10/src/gth-browser-actions-callbacks.c Mon Jan 28 20:27:44 2008
@@ -1737,11 +1737,10 @@
NULL);
/* Permit VFS URIs */
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (chooser), FALSE);
-
- gtk_window_set_modal (GTK_WINDOW (chooser), TRUE);
gtk_file_chooser_set_current_folder_uri (GTK_FILE_CHOOSER (chooser), gth_browser_get_current_directory (browser));
+ gtk_dialog_set_default_response(GTK_DIALOG (chooser), GTK_RESPONSE_OK);
- g_signal_connect (G_OBJECT (GTK_DIALOG (chooser)),
+ g_signal_connect (G_OBJECT (chooser),
"response",
G_CALLBACK (open_location_response_cb),
browser);
Modified: branches/gthumb-2-10/src/gth-location.c
==============================================================================
--- branches/gthumb-2-10/src/gth-location.c (original)
+++ branches/gthumb-2-10/src/gth-location.c Mon Jan 28 20:27:44 2008
@@ -222,11 +222,12 @@
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN, GTK_RESPONSE_OK,
NULL);
+
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (chooser), FALSE);
- gtk_window_set_modal (GTK_WINDOW (chooser), TRUE);
gtk_file_chooser_set_current_folder_uri (GTK_FILE_CHOOSER (chooser), gth_location_get_folder_uri (location));
+ gtk_dialog_set_default_response(GTK_DIALOG (chooser), GTK_RESPONSE_OK);
- g_signal_connect (G_OBJECT (GTK_DIALOG (chooser)),
+ g_signal_connect (G_OBJECT (chooser),
"response",
G_CALLBACK (open_other_location_response_cb),
location);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]