Gtk: Fix file selector moving up one dir each time you use it.
Gtk: Fix file selector moving up one dir each time you use it.

If default_path is a directory, start the file open dialog in that dir, rather than in the parent with that dir selected.

BUG=49081
TEST=see #2 on bug

Review URL: http://codereview.chromium.org/4121001

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@63807 0039d316-1c4b-4281-b951-d872f2087c98

nacl-webkit/chrome_deps,dednal/chromium.src,ondra-novak/chromium.src,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,keishi/chromium,fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Just-D/chromium-1,ondra-novak/chromium.src,hgl888/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ChromiumWebApps/chromium,ltilve/chromium,keishi/chromium,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,anirudhSK/chromium,chuan9/chromium-crosswalk,littlstar/chromium.src,hujiajie/pa-chromium,fujunwei/chromium-crosswalk,M4sse/chromium.src,rogerwang/chromium,Jonekee/chromium.src,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,dednal/chromium.src,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,fujunwei/chromium-crosswalk,mogoweb/chromium-crosswalk,dushu1203/chromium.src,Jonekee/chromium.src,ChromiumWebApps/chromium,Chilledheart/chromium,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,M4sse/chromium.src,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,zcbenz/cefode-chromium,dednal/chromium.src,hgl888/chromium-crosswalk-efl,nacl-webkit/chrome_deps,chuan9/chromium-crosswalk,mogoweb/chromium-crosswalk,robclark/chromium,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,anirudhSK/chromium,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,PeterWangIntel/chromium-crosswalk,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,rogerwang/chromium,markYoungH/chromium.src,patrickm/chromium.src,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,dushu1203/chromium.src,dednal/chromium.src,Fireblend/chromium-crosswalk,anirudhSK/chromium,bright-sparks/chromium-spacewalk,Jonekee/chromium.src,dednal/chromium.src,bright-sparks/chromium-spacewalk,Just-D/chromium-1,pozdnyakov/chromium-crosswalk,littlstar/chromium.src,nacl-webkit/chrome_deps,timopulkkinen/BubbleFish,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,rogerwang/chromium,timopulkkinen/BubbleFish,M4sse/chromium.src,markYoungH/chromium.src,fujunwei/chromium-crosswalk,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,keishi/chromium,M4sse/chromium.src,robclark/chromium,Chilledheart/chromium,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,keishi/chromium,anirudhSK/chromium,littlstar/chromium.src,rogerwang/chromium,timopulkkinen/BubbleFish,littlstar/chromium.src,jaruba/chromium.src,jaruba/chromium.src,robclark/chromium,patrickm/chromium.src,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk,ltilve/chromium,M4sse/chromium.src,timopulkkinen/BubbleFish,bright-sparks/chromium-spacewalk,Jonekee/chromium.src,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,nacl-webkit/chrome_deps,robclark/chromium,dednal/chromium.src,hgl888/chromium-crosswalk,axinging/chromium-crosswalk,mogoweb/chromium-crosswalk,timopulkkinen/BubbleFish,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,chuan9/chromium-crosswalk,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,crosswalk-project/chromium-crosswalk-efl,ChromiumWebApps/chromium,TheTypoMaster/chromium-crosswalk,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk,nacl-webkit/chrome_deps,markYoungH/chromium.src,littlstar/chromium.src,dushu1203/chromium.src,keishi/chromium,markYoungH/chromium.src,jaruba/chromium.src,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,robclark/chromium,nacl-webkit/chrome_deps,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,Just-D/chromium-1,Fireblend/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,pozdnyakov/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,patrickm/chromium.src,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,keishi/chromium,markYoungH/chromium.src,jaruba/chromium.src,M4sse/chromium.src,keishi/chromium,Just-D/chromium-1,anirudhSK/chromium,Fireblend/chromium-crosswalk,mogoweb/chromium-crosswalk,ltilve/chromium,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,ltilve/chromium,timopulkkinen/BubbleFish,ondra-novak/chromium.src,robclark/chromium,keishi/chromium,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk,axinging/chromium-crosswalk,mogoweb/chromium-crosswalk,dushu1203/chromium.src,Chilledheart/chromium,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,hujiajie/pa-chromium,axinging/chromium-crosswalk,markYoungH/chromium.src,Fireblend/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,patrickm/chromium.src,fujunwei/chromium-crosswalk,ltilve/chromium,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,Just-D/chromium-1,dushu1203/chromium.src,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,robclark/chromium,Fireblend/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,robclark/chromium,junmin-zhu/chromium-rivertrail,patrickm/chromium.src,Jonekee/chromium.src,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,ChromiumWebApps/chromium,axinging/chromium-crosswalk,anirudhSK/chromium,PeterWangIntel/chromium-crosswalk,keishi/chromium,patrickm/chromium.src,jaruba/chromium.src,anirudhSK/chromium,Chilledheart/chromium,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,dushu1203/chromium.src,fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Chilledheart/chromium,Chilledheart/chromium,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,Just-D/chromium-1,hgl888/chromium-crosswalk,anirudhSK/chromium,ondra-novak/chromium.src,anirudhSK/chromium,axinging/chromium-crosswalk,rogerwang/chromium,Pluto-tv/chromium-crosswalk,mogoweb/chromium-crosswalk,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,rogerwang/chromium,Just-D/chromium-1,mohamed--abdel-maksoud/chromium.src,ltilve/chromium,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Chilledheart/chromium,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,axinging/chromium-crosswalk,M4sse/chromium.src,ltilve/chromium,timopulkkinen/BubbleFish,markYoungH/chromium.src,patrickm/chromium.src,ondra-novak/chromium.src,jaruba/chromium.src,Jonekee/chromium.src,dednal/chromium.src,fujunwei/chromium-crosswalk,chuan9/chromium-crosswalk,Pluto-tv/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Jonekee/chromium.src,markYoungH/chromium.src,rogerwang/chromium,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,M4sse/chromium.src,robclark/chromium,rogerwang/chromium,hujiajie/pa-chromium,patrickm/chromium.src,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,M4sse/chromium.src,dednal/chromium.src,zcbenz/cefode-chromium,krieger-od/nwjs_chromium.src,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,Fireblend/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,chuan9/chromium-crosswalk,Just-D/chromium-1,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Chilledheart/chromium,ChromiumWebApps/chromium,PeterWangIntel/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,keishi/chromium,timopulkkinen/BubbleFish,PeterWangIntel/chromium-crosswalk,rogerwang/chromium,nacl-webkit/chrome_deps,jaruba/chromium.src,hujiajie/pa-chromium,nacl-webkit/chrome_deps,hujiajie/pa-chromium,littlstar/chromium.src,M4sse/chromium.src,dushu1203/chromium.src,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,PeterWangIntel/chromium-crosswalk,M4sse/chromium.src,anirudhSK/chromium,littlstar/chromium.src,junmin-zhu/chromium-rivertrail,keishi/chromium,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,krieger-od/nwjs_chromium.src,mohamed--abdel-maksoud/chromium.src,timopulkkinen/BubbleFish,robclark/chromium,hujiajie/pa-chromium,axinging/chromium-crosswalk,rogerwang/chromium,TheTypoMaster/chromium-crosswalk,dednal/chromium.src,hujiajie/pa-chromium,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk-efl,markYoungH/chromium.src,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,dednal/chromium.src,Chilledheart/chromium,fujunwei/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,ltilve/chromium,ondra-novak/chromium.src,markYoungH/chromium.src,dednal/chromium.src,timopulkkinen/BubbleFish,hujiajie/pa-chromium,zcbenz/cefode-chromium,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,hujiajie/pa-chromium,pozdnyakov/chromium-crosswalk,Just-D/chromium-1,patrickm/chromium.src,ltilve/chromium,Pluto-tv/chromium-crosswalk,dushu1203/chromium.src,dushu1203/chromium.src