[nautilus-actions] Fix window positionning
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Subject: [nautilus-actions] Fix window positionning
- Date: Tue, 14 Jul 2009 18:49:00 +0000 (UTC)
commit 6ca121fb5bd70a5168b457b68c11c73c4a53cd82
Author: Pierre Wieser <pwieser trychlos org>
Date: Thu Jul 2 14:13:39 2009 +0200
Fix window positionning
ChangeLog | 7 ++++---
src/nact/nact-action-conditions-editor.c | 3 +--
src/nact/nact-window.c | 2 --
3 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 062e4c8..4cd4adc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,10 @@
* src/nact/nact-action-conditions-editor.c
(on_initial_load_dialog): Make labels and buttons the same size.
+ * src/nact/nact-action-conditions-editor.c
+ (on_all_widgets_showed): Call
+ nact_iprofile_conditions_all_widgets_showed function.
+
* src/nact/nact-imenu-item.c:
* src/nact/nact-imenu-item.h (nact_imenu_item_size_labels,
nact_imenu_item_size_buttons): New functions.
@@ -21,9 +25,6 @@
(nact_iprofile_conditions_size_labels,
nact_iprofile_conditions_size_buttons): New functions.
- * src/nact/nact-window.c (on_all_widgets_showed): Restore the
- saved position of the window.
-
* src/nact/nautilus-actions-config.ui:
Add tooltips to AddAction and EditAction buttons.
Encapsulates the IconImage into a IconFrame.
diff --git a/src/nact/nact-action-conditions-editor.c b/src/nact/nact-action-conditions-editor.c
index 10c3cc7..4695a62 100644
--- a/src/nact/nact-action-conditions-editor.c
+++ b/src/nact/nact-action-conditions-editor.c
@@ -385,8 +385,7 @@ on_all_widgets_showed( BaseWindow *dialog )
gtk_notebook_set_current_page( notebook, 0 );
nact_imenu_item_all_widgets_showed( NACT_WINDOW( dialog ));
-
- /*nact_iprefs_position_window( NACT_WINDOW( dialog ));*/
+ nact_iprofile_conditions_all_widgets_showed( NACT_WINDOW( dialog ));
}
static void
diff --git a/src/nact/nact-window.c b/src/nact/nact-window.c
index e3f9ec1..bd948e4 100644
--- a/src/nact/nact-window.c
+++ b/src/nact/nact-window.c
@@ -253,8 +253,6 @@ on_all_widgets_showed( BaseWindow *dialog )
}
g_debug( "%s: dialog=%p", thisfn, dialog );
-
- nact_iprefs_position_window( NACT_WINDOW( dialog ));
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]