~ubuntu-branches/ubuntu/utopic/thunar/utopic-proposed

« back to all changes in this revision

Viewing changes to thunar/thunar-tree-view.c

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-04-05 08:22:40 UTC
  • Revision ID: package-import@ubuntu.com-20140405082240-b3iiyypyyo3uliy3
Tags: 1.6.3-1ubuntu5
* Add git-save-keyboard-shortcuts.patch. LP: #1186846
  - Keyboard shortcuts save when changed rather than when thunar is closed
* Add menu-icon-tweaks.patch. LP: #1271861
  - Don't use generic folder icons for open with default application
  - Add icons for open in new tab, new window
* Add git-force-toolbr-icons.patch
  - Fix for "Home" and "Open Parent" icons going missing from toolbar

Show diffs side-by-side

added added

removed removed

Lines of Context:
1093
1093
  GtkWidget    *menu;
1094
1094
  GtkWidget    *item;
1095
1095
  GtkWidget    *window;
 
1096
  GIcon        *icon;
1096
1097
  GList        *providers, *lp;
1097
1098
  GList        *actions = NULL, *tmp;
1098
1099
 
1201
1202
      g_signal_connect_swapped (G_OBJECT (item), "activate", G_CALLBACK (thunar_tree_view_action_create_folder), view);
1202
1203
      gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
1203
1204
      gtk_widget_show (item);
 
1205
      
 
1206
      /* set the stock icon */
 
1207
      icon = g_themed_icon_new ("folder-new");
 
1208
      image = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_MENU);
 
1209
      gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
 
1210
      g_object_unref (icon);
1204
1211
 
1205
1212
      /* append a separator item */
1206
1213
      item = gtk_separator_menu_item_new ();