예제 #1
0
 private void HandleIconButtonClicked(object sender, EventArgs args)
 {
     TagCommands.EditIcon command = new TagCommands.EditIcon(db, parent_window);
     if (command.Execute(tag))
     {
         icon_image.Pixbuf = tag.Icon;
     }
 }
예제 #2
0
 private void HandleIconButtonClicked(object sender, EventArgs args)
 {
     TagCommands.EditIcon command = new TagCommands.EditIcon(db, parent_window);
     //FIXME
     if (command.Execute(tag))
     {
         if (FSpot.ColorManagement.IsEnabled && tag.Icon != null)
         {
             icon_image.Pixbuf = tag.Icon.Copy();
             FSpot.ColorManagement.ApplyScreenProfile(icon_image.Pixbuf);
         }
         else
         {
             icon_image.Pixbuf = tag.Icon;
         }
     }
 }
		private void HandleIconButtonClicked (object sender, EventArgs args)
		{
			TagCommands.EditIcon command = new TagCommands.EditIcon (db, parent_window);
			//FIXME
			if (command.Execute (tag)) {
				if (FSpot.ColorManagement.IsEnabled && tag.Icon != null) {
					icon_image.Pixbuf = tag.Icon.Copy();
					FSpot.ColorManagement.ApplyScreenProfile(icon_image.Pixbuf);
				}
				else
					icon_image.Pixbuf = tag.Icon;
			}
		}
		private void HandleIconButtonClicked (object sender, EventArgs args)
		{
			TagCommands.EditIcon command = new TagCommands.EditIcon (db, parent_window);
			if (command.Execute (tag))
				icon_image.Pixbuf = tag.Icon;
		}