[nautilus-actions] Fix widget name in Action tab
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Fix widget name in Action tab
- Date: Sun, 25 Oct 2009 15:18:15 +0000 (UTC)
commit 27f617e71e8aca9dde406fafd0b56ae9191eed08
Author: Pierre Wieser <pwieser trychlos org>
Date: Tue Oct 20 21:03:04 2009 +0200
Fix widget name in Action tab
ChangeLog | 8 ++++++++
src/common/na-object-item.c | 3 +--
src/nact/nact-iaction-tab.c | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6434aee..a404ee4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-10-20 Pierre Wieser <pwieser trychlos org>
+
+ * src/common/na-object-item.c (na_object_item_get_pixbuf):
+ Update comment.
+
+ * src/nact/nact-iaction-tab.c (on_icon_browse):
+ Fix widget name.
+
2009-10-19 Pierre Wieser <pwieser trychlos org>
* src/nact/nautilus-actions-config-tool.actions:
diff --git a/src/common/na-object-item.c b/src/common/na-object-item.c
index 03d068b..04507d5 100644
--- a/src/common/na-object-item.c
+++ b/src/common/na-object-item.c
@@ -64,8 +64,7 @@ GdkPixbuf *na_object_item_get_pixbuf( const NAObjectItem *item, GtkWidget *widge
iconname = na_object_item_get_icon( item );
/* TODO: use the same algorythm than Nautilus to find and
- * display an icon + move the code to NAAction class +
- * remove na_action_get_verified_icon_name
+ * display an icon
*/
if( iconname ){
if( gtk_stock_lookup( iconname, &stock_item )){
diff --git a/src/nact/nact-iaction-tab.c b/src/nact/nact-iaction-tab.c
index cd05490..e09268d 100644
--- a/src/nact/nact-iaction-tab.c
+++ b/src/nact/nact-iaction-tab.c
@@ -547,7 +547,7 @@ on_icon_browse( GtkButton *button, NactIActionTab *instance )
if( gtk_dialog_run( GTK_DIALOG( dialog )) == GTK_RESPONSE_ACCEPT ){
filename = gtk_file_chooser_get_filename( GTK_FILE_CHOOSER( dialog ));
- icon_widget = base_window_get_widget( BASE_WINDOW( instance ), "MenuIconComboBoxEntry" );
+ icon_widget = base_window_get_widget( BASE_WINDOW( instance ), "ActionIconComboBoxEntry" );
gtk_entry_set_text( GTK_ENTRY( GTK_BIN( icon_widget )->child ), filename );
g_free (filename);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]