mirror of https://github.com/GNOME/gimp.git
use @gimpdir@ instead of hardcoding .gimp
* gimptool.in: use @gimpdir@ instead of hardcoding .gimp * app/palette.c: remove unnecessary gtk_widget_destroy for menus that have already been removed (from Shuji Narazaki) -Yosh
This commit is contained in:
parent
5cc38d44a2
commit
838e68b9eb
|
@ -1,3 +1,10 @@
|
|||
Mon Jun 8 21:55:55 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gimptool.in: use @gimpdir@ instead of hardcoding .gimp
|
||||
|
||||
* app/palette.c: remove unnecessary gtk_widget_destroy for menus
|
||||
that have already been removed (from Shuji Narazaki)
|
||||
|
||||
Mon Jun 8 20:58:09 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* app/blend.c
|
||||
|
|
|
@ -1007,7 +1007,6 @@ palette_add_entries_callback (GtkWidget *w,
|
|||
palette_entries_list = palette_entries_insert_list (palette_entries_list, entries);
|
||||
|
||||
gtk_option_menu_remove_menu (GTK_OPTION_MENU (palette->option_menu));
|
||||
gtk_widget_destroy (palette->menu);
|
||||
palette_create_palette_menu (palette, entries);
|
||||
}
|
||||
}
|
||||
|
@ -1036,7 +1035,6 @@ palette_delete_entries_callback (GtkWidget *w,
|
|||
}
|
||||
|
||||
gtk_option_menu_remove_menu (GTK_OPTION_MENU (palette->option_menu));
|
||||
gtk_widget_destroy (palette->menu);
|
||||
|
||||
entries = palette->entries;
|
||||
if (entries && entries->filename)
|
||||
|
|
|
@ -1007,7 +1007,6 @@ palette_add_entries_callback (GtkWidget *w,
|
|||
palette_entries_list = palette_entries_insert_list (palette_entries_list, entries);
|
||||
|
||||
gtk_option_menu_remove_menu (GTK_OPTION_MENU (palette->option_menu));
|
||||
gtk_widget_destroy (palette->menu);
|
||||
palette_create_palette_menu (palette, entries);
|
||||
}
|
||||
}
|
||||
|
@ -1036,7 +1035,6 @@ palette_delete_entries_callback (GtkWidget *w,
|
|||
}
|
||||
|
||||
gtk_option_menu_remove_menu (GTK_OPTION_MENU (palette->option_menu));
|
||||
gtk_widget_destroy (palette->menu);
|
||||
|
||||
entries = palette->entries;
|
||||
if (entries && entries->filename)
|
||||
|
|
|
@ -1007,7 +1007,6 @@ palette_add_entries_callback (GtkWidget *w,
|
|||
palette_entries_list = palette_entries_insert_list (palette_entries_list, entries);
|
||||
|
||||
gtk_option_menu_remove_menu (GTK_OPTION_MENU (palette->option_menu));
|
||||
gtk_widget_destroy (palette->menu);
|
||||
palette_create_palette_menu (palette, entries);
|
||||
}
|
||||
}
|
||||
|
@ -1036,7 +1035,6 @@ palette_delete_entries_callback (GtkWidget *w,
|
|||
}
|
||||
|
||||
gtk_option_menu_remove_menu (GTK_OPTION_MENU (palette->option_menu));
|
||||
gtk_widget_destroy (palette->menu);
|
||||
|
||||
entries = palette->entries;
|
||||
if (entries && entries->filename)
|
||||
|
|
|
@ -78,7 +78,7 @@ while test $# -gt 0; do
|
|||
case $1 in
|
||||
--install-bin)
|
||||
install_cmd="@INSTALL@ @INSTALL_PROGRAM@"
|
||||
install_dir="$HOME/.gimp/plug-ins"
|
||||
install_dir="$HOME/@gimpdir@/plug-ins"
|
||||
;;
|
||||
--install-admin-bin)
|
||||
install_cmd="@INSTALL@ @INSTALL_PROGRAM@"
|
||||
|
@ -115,7 +115,7 @@ while test $# -gt 0; do
|
|||
--build)
|
||||
install_dir=. ;;
|
||||
--install)
|
||||
install_dir="$HOME/.gimp/plug-ins" ;;
|
||||
install_dir="$HOME/@gimpdir@/plug-ins" ;;
|
||||
--install-admin)
|
||||
install_dir="$plug_in_dir/plug-ins" ;;
|
||||
esac
|
||||
|
|
|
@ -78,7 +78,7 @@ while test $# -gt 0; do
|
|||
case $1 in
|
||||
--install-bin)
|
||||
install_cmd="@INSTALL@ @INSTALL_PROGRAM@"
|
||||
install_dir="$HOME/.gimp/plug-ins"
|
||||
install_dir="$HOME/@gimpdir@/plug-ins"
|
||||
;;
|
||||
--install-admin-bin)
|
||||
install_cmd="@INSTALL@ @INSTALL_PROGRAM@"
|
||||
|
@ -115,7 +115,7 @@ while test $# -gt 0; do
|
|||
--build)
|
||||
install_dir=. ;;
|
||||
--install)
|
||||
install_dir="$HOME/.gimp/plug-ins" ;;
|
||||
install_dir="$HOME/@gimpdir@/plug-ins" ;;
|
||||
--install-admin)
|
||||
install_dir="$plug_in_dir/plug-ins" ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue