aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/account_dialog.c2
-rw-r--r--src/message_search.c2
-rw-r--r--src/quick_search.c2
4 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index acbc9788..fc327b70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2014-11-13
+ * src/quick_search.c
+ src/message_search.c
+ src/account_dialog.c: made widget sizes dpi-aware.
+
+2014-11-13
+
* src/gtkutils.c
src/alertpanel.c
src/inputdialog.c: made widget spacings dpi-aware.
diff --git a/src/account_dialog.c b/src/account_dialog.c
index c6efc868..af63b1c0 100644
--- a/src/account_dialog.c
+++ b/src/account_dialog.c
@@ -475,7 +475,7 @@ static GtkWidget *account_wait_window_create(const gchar *str)
GtkWidget *label;
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_size_request(window, 380, 60);
+ gtk_widget_set_size_request(window, 380 * gtkut_get_dpi_multiplier(), 60 * gtkut_get_dpi_multiplier());
gtk_container_set_border_width(GTK_CONTAINER(window), 8);
gtk_window_set_position(GTK_WINDOW(window),
GTK_WIN_POS_CENTER_ON_PARENT);
diff --git a/src/message_search.c b/src/message_search.c
index 5ee19976..cd83af7e 100644
--- a/src/message_search.c
+++ b/src/message_search.c
@@ -118,7 +118,7 @@ static void message_search_create(void)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window),
_("Find in current message"));
- gtk_widget_set_size_request (window, 450, -1);
+ gtk_widget_set_size_request (window, 450 * gtkut_get_dpi_multiplier(), -1);
gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, TRUE);
gtk_container_set_border_width (GTK_CONTAINER (window), 8);
g_signal_connect(G_OBJECT(window), "delete_event",
diff --git a/src/quick_search.c b/src/quick_search.c
index 4c212956..315ab6da 100644
--- a/src/quick_search.c
+++ b/src/quick_search.c
@@ -133,7 +133,7 @@ QuickSearch *quick_search_create(SummaryView *summaryview)
gtk_box_pack_start(GTK_BOX(hbox), hbox2, FALSE, FALSE, 0);
entry = gtk_entry_new();
- gtk_widget_set_size_request(entry, 200, -1);
+ gtk_widget_set_size_request(entry, 200 * gtkut_get_dpi_multiplier(), -1);
gtk_box_pack_start(GTK_BOX(hbox), entry, FALSE, FALSE, 0);
g_signal_connect(G_OBJECT(entry), "focus-in-event",
G_CALLBACK(entry_focus_in), qsearch);