1. 11 May, 2019 2 commits
  2. 08 May, 2019 1 commit
  3. 09 Jul, 2011 1 commit
    • Hans Breuer's avatar
      Bug 611704 - Use proper Unicode characters · 33658ffe
      Hans Breuer authored
      Replace ..."  with \342\200\246" to have the best of both worlds:
      proper Unicode menu entries in UTF-8 and still ASCII source code.
      
      Suggested by Philip Withnall, bug 611704#c3
      33658ffe
  4. 01 Jun, 2011 1 commit
  5. 07 Nov, 2010 1 commit
  6. 31 Oct, 2010 1 commit
  7. 31 Jul, 2010 1 commit
  8. 24 May, 2009 2 commits
  9. 18 Jul, 2008 1 commit
    • Hans Breuer's avatar
      [ on the way to compile dia with GTK_DISABLE_DEPRECATED ] · 864aa4e1
      Hans Breuer authored
      2008-07-18  Hans Breuer  <hans@breuer.org>
      
      	[ on the way to compile dia with GTK_DISABLE_DEPRECATED ]
      	* app/makefile.msc lib/makefile.msc : -DGTK_DISABLE_DEPRECATED
      	* app/app_procs.c : s/gtk_timeout_add/g_timeout_add/
      	* app/autosave.c : g(tk)_idle_remove_by_data ()
      	* app/color_area.c : remove gtk_color_selection_set_update_policy () -
      	it does not have any effect anymore
      	* app/defaults.c : use g_object_ref_sink()
      	* app/diagram_tree.c app/diagram_tree_menu.c : 
      	#undef GTK_DISABLE_DEPRECATED for GtkCList
      	* app/diapagelayout.[ch] : information hiding to not pollute all users
      	with deprecated stuff
      	* app/disp_callbacks.c : remove gtk_menu_item_set_show_toggle (), it's
      	deprecated and doesn't have any effect anymore, use g_signal_connect ()
      	* app/display.c : replace gtk_idle_*() and gtk_object_get_user_data ()
      	* app/dynamic_refresh.c : port away from gtk_timeout_*()
      	* app/filedlg.c : not gtk_object_get_user_data () anymore
      	* app/gtkhwrapbox.[ch] app/gtkvwrapbox.[ch] app/gtkwrapbox.[ch] : 
      	copied already ported version from The GIMP
      	* app/interface.c : away from gtk_object_get_user_data ()
      	* app/interface.h app/sheets.h : #ifdefed GtkTooltips
      	* app/layer_dialog.[ch] : information hiding of deprecated stuff
      	* app/linewidth_area.c app/navigation.c : 
      	s/gtk_drawing_area_size/gtk_widget_set_size_request/
      	* app/menus.c : #undef GTK_DISABLE_DEPRECATED for GtkTooltips
      	* app/pagesetup.c : replace gtk_object_set_data_full () and adapt to
      	DiaPageLayout information hiding
      	* app/preferences.c : GtkComboBox instead of GtkOptionMenu
      	* app/properties.c : g_object_ref_sink ()
      
      	[ #undef GTK_DISABLE_DEPRECATED ...]
      	* app/splash.c : ... for GtkPixmap
      	* lib/diaarrowchooser.[ch] :  ... for GtkTooltips
      	* app/sheets.c app/sheets_dialog.c app/sheets_dialog_callbacks.c : ...
      	for GtkOptionMenu and GtkTooltips
      	
      	* lib/dialinechooser.c : use g_object_ref_sink()
      	* lib/dialogs.c : replace gtk_box_pack_start_defaults()
      	* lib/messages.c : removed #undef GTK_DISABLE_DEPRECATED
      	* lib/prop_inttypes.c : use gtk_combo_box_new_text () instead of 
      	deprecated gtk_option_menu_new(), also g_signal_*()
      	* lib/prop_sdarray.c : use g_signal_connect()
      	* lib/propdialogs.c : g_object_set_data (), g_signal_connect ()
      	* lib/widgets.[ch] : moved struct _DiaDynamicMenu to implemention
      	to hide _deprecated_ internals (GtkOptionMenu
      
      	* objects/UML/class_dialog.c(umlclass_update_connectionpoints) : dont
      	crash when called without having used the properties dialog before
      
      
      svn path=/trunk/; revision=4091
      864aa4e1
  10. 28 Oct, 2007 1 commit
  11. 22 Jan, 2006 1 commit
  12. 08 Sep, 2003 1 commit
  13. 08 Dec, 2002 1 commit
    • Hans Breuer's avatar
      fixed bug #85315 'give diagram properties, instead of no object selected · 94eb59a1
      Hans Breuer authored
      2002-12-08  Hans Breuer  <hans@breuer.org>
      
      	* app/commands.c : fixed bug #85315 'give diagram properties,
      	instead of no object selected error' almost a one-liner
      
      	* app/splash.c : don't make having the logo pixmap
      	mandatory. Fixes bug #96068.
      
      	* app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
      	sequence by connecting to the "delete_event"
      	* app/objects/uml/class_dialog.c : handle "destroy" for
      	the same reason.
      
      	* lib/libdia.def : remove diaXmlNewChild again
      
      	* app/paginate_gdiprint.cpp : reflect Dia's page setting
      	portrait/landscape in the windoze print dialog
      
      	* objects/makefile.msc : only UML needs to link against
      	$(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
      94eb59a1
  14. 17 Nov, 2002 1 commit
    • Cyrille Chepelov's avatar
      hinted the window manager that the toolbox window is a toolbox window. Not · c46be50b
      Cyrille Chepelov authored
      	* app/interface.c: hinted the window manager that the toolbox window
      is a toolbox window. Not that my (fairly default configuration)	sawfish
      cares, but other NETWM compliant WMs may.	* app/commands.c: 	*
      app/defaults.c: 	* app/dia-props.c:	* app/filedlg.c: 	*
      app/interface.c: 	* app/layer_dialog.c: 	* app/linewidth_area.c:
      * app/properties.c: 	* app/sheets_dialog.c: 	* app/splash.c: 	The
      GTK doc says to avoir gtk_window_set_wmclass() and
      gtk_window_set_policy(), and use gtk_window_set_role() and
      gtk_window_set_resizable(), respectively.		* app/preferences.c:
      (prefs_create_dialog):	* app/preferences.h:	* app/display.c:
      (display_set_active):	Added a preference to have the toolbox hover over
      diagram windows.
      c46be50b
  15. 08 Jun, 2002 1 commit
    • Hans Breuer's avatar
      */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell, only keep the utf-8 · 599c93b3
      Hans Breuer authored
      2002-06-08  Hans Breuer  <hans@breuer.org>
      
      	*/*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
      	only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
      	Also use g_strdup()'s handling of NULL by returning NULL
      	again at all places I found (remove unnecessary if's)
      
      	[make it compile with GTK+ 2.0]
      
      	* app/app_procs.c app/diagram.c : remove
      	gtk_item_factory_dump_rc code, (it wasn't read in again anyway)
      	but set use gtk_menu_set_accel_path() on menu creation
      
      	* app/color_area.c lib/widgets.c :
      	make use of gtk_color_selection_set_has_palette ()
      
      	* app/commands.c : gdk_pixbuf_new_from_file wants an
      	extra argument. Convert from DIR to GDir usage.
      
      	* app/diagram_tree.c(button_press_callback) : need to return
      	FALSE in the signal handler to let gtk process it further.
      	(get_object_name) : don't leak 'prop'
      
      	* app/diapagelayout.c : adapt to GtkTypeInfo changes and handle
      	dia_page_layout_destroy() getting called more than once
      
      	* app/diaunitspinner.c : GtkEditable -> GtkEntry,
      	GtkTypeInfo changes
      
      	* app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
      
      	* app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
      	IIRC this code will not compile unchanged when USE_XIM is defined ...
      
      	* app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
      
      	* app/interface.c : there is no widget->klass anymore in Gtk,
      	use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
      	parameter. Some tweaking of GtkWrapBox usage to get four tools in
      	a row again.
      	switch off GTK's double buffering on Dia's canvas. Otherwise we would
      	get triple buffering and flicker.
      	Replace call to GTK private function _gtk_accel_group_attach()
      	with public gtk_window_add_accel_group()
      
      	* app/layer_dialog.c : adapt to GtkTypeInfo changes
      
      	* app/load_save.c lib/plug-ins.c lib/sheet.c
      	  objects/custom/custom.c :
      	simplified by using g_file_test()
      
      	* app/menus.c : convert from gtk_item_factory_<dump|parse>_rc
      	to gtk_accel_map_<save|load>. Also added common stock-icons
      	to the menu.
      
      	* app/preferences.c : use gtk_button_set_label() instead
      	of button->child which is gone. Also removed GLIB_CHECK_VERSION.
      
      	* app/preferences.c lib/dia_xml.c lib/plug-ins.c :
      	#ifdef G_OS_WIN32 #include <io.h>, this was formerly done
      	in config.h.win32
      
      	* app/recent_files.c : removed GLIB_CHECK_VERSION
      
      	* app/render_eps.c
      	  plug-ins/metapost/render_metapost.c
      	  plug-ins/pstricks/render_pstricks.c
      	  plug-ins/svg/render_svg.c :
      	replace getlogin() with g_get_user_name() which always
      	returns non NULL
      
      	* app/render_gdk.c : gdk_region_union_with_rect() modifies
      	inplace now and returns nothing, also less #hell
      
      	* app/render_libart.c : some initial #hell cleaning, SuckFont
      	still needs to vanish
      
      	* app/splash.c : gdk_pixbuf_new_from_file() second arg and
      	GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
      
      	* app/render_pixbuf.c app/sheets.c : plain #hell cleaning
      	* app/sheets_dialog_callbacks.c : some #hell and adaptions
      	needed to GtkWrapBox api changes
      599c93b3
  16. 23 Mar, 2001 1 commit
  17. 17 Mar, 2001 1 commit
    • James Henstridge's avatar
      fix off by one error in beziershape save code, which was adding an extra · ff22c418
      James Henstridge authored
      2001-03-17  James Henstridge  <james@daa.com.au>
      
      	* lib/beziershape.c (beziershape_save): fix off by one error in
      	beziershape save code, which was adding an extra segment to the
      	object on save.
      
      	* app/menus.c: add a separator in the gnome version of the help
      	menu.
      
      	* app/app_procs.c (app_init): add a --nosplash argument which
      	disables the splash screen.
      
      	* app/dia_embedd.c (main): don't leave the splash screen open for
      	embeddable component.
      
      	* app/splash.c (app_splash_init): the gtk_widget_show_now() call
      	didn't seem to be showing the splash screen like expected, so I
      	have replaced it with some code that calls gtk_main() until the
      	first exposure of the window.
      ff22c418
  18. 05 Jan, 2001 1 commit
  19. 25 Nov, 2000 1 commit
    • James Henstridge's avatar
      don't use gnome_popup_menu_new(). It does weird shit to the user_data · 9e904319
      James Henstridge authored
      2000-11-25  James Henstridge  <james@daa.com.au>
      
      	* app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
      	does weird shit to the user_data pointer for a menu item.  Object
      	alignment should work again now.
      
      	* app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
      	NULL, and mark this function static.
      	(app_splash_init): use gtk_widget_show_now() instead of the
      	gtk_main_iteration loop.
      	(app_splash_init): connecting gtk_widget_destroy to the destroy
      	signal of a widget seems pretty useless.
      9e904319
  20. 21 Oct, 2000 1 commit