[recipes] Allow adding more than 4 images
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Allow adding more than 4 images
- Date: Tue, 24 Jan 2017 06:06:58 +0000 (UTC)
commit e649abaf3a4bcf57d005161c3de0f464c0abcedf
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jan 24 08:58:01 2017 +0300
Allow adding more than 4 images
This restriction is a leftover from when there was a vertical
non-scrolling thumbnail view.
https://bugzilla.gnome.org/show_bug.cgi?id=777668
src/gr-edit-page.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-edit-page.c b/src/gr-edit-page.c
index b980e80..0c3124f 100644
--- a/src/gr-edit-page.c
+++ b/src/gr-edit-page.c
@@ -162,7 +162,7 @@ update_image_button_sensitivity (GrEditPage *page)
g_object_get (page->images, "images", &images, NULL);
length = images->len;
- gtk_widget_set_sensitive (page->add_image_button, length < 4);
+ gtk_widget_set_sensitive (page->add_image_button, TRUE);
gtk_widget_set_sensitive (page->remove_image_button, length > 0);
gtk_widget_set_sensitive (page->rotate_image_left_button, length > 0);
gtk_widget_set_sensitive (page->rotate_image_right_button, length > 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]