[libgd] main-view: signal changes for range and rubberband selections
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd] main-view: signal changes for range and rubberband selections
- Date: Tue, 16 Apr 2013 01:16:37 +0000 (UTC)
commit ca1647574c3bc1940a376d4a3598259a3b26935e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Apr 15 21:16:07 2013 -0400
main-view: signal changes for range and rubberband selections
libgd/gd-main-view.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/libgd/gd-main-view.c b/libgd/gd-main-view.c
index fc23c1a..9a72fcb 100644
--- a/libgd/gd-main-view.c
+++ b/libgd/gd-main-view.c
@@ -467,6 +467,8 @@ selection_mode_select_range (GdMainView *self,
/* no other selected element found, just select the iter */
do_select_row (self, &iter, TRUE);
}
+
+ g_signal_emit (self, signals[VIEW_SELECTION_CHANGED], 0);
}
static gboolean
@@ -625,6 +627,8 @@ on_button_release_event (GtkWidget *view,
gtk_tree_path_next (start_path);
}
+ g_signal_emit (self, signals[VIEW_SELECTION_CHANGED], 0);
+
gtk_tree_path_free (start_path);
gtk_tree_path_free (end_path);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]